mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 05:29:41 +01:00
updated convertToRegFormat name to begin with lowercase and added test
This commit is contained in:
@@ -74,6 +74,10 @@ void WinConfigurationTest::testConfiguration()
|
||||
|
||||
pView->setString("sub.foo", "bar");
|
||||
assert (pView->getString("sub.foo", "default") == "bar");
|
||||
|
||||
std::string value;
|
||||
assert (pReg->convertToRegFormat("A.B.C", value) == "A\\B");
|
||||
assert (value == "C");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user