This commit is contained in:
Branimir Karadžić
2018-11-03 10:46:09 -07:00
parent 9fc2f996f7
commit a58b42f31b
3 changed files with 6 additions and 6 deletions

View File

@@ -27,12 +27,12 @@ TEST_CASE("Settings", "")
bx::close(&writer);
}
REQUIRE(NULL == settings.get("meh") );
REQUIRE(settings.get("meh").isEmpty() );
REQUIRE(0 == bx::strCmp(settings.get("meh/podmac"), "true") );
REQUIRE(0 == bx::strCmp(settings.get("test/foo/bar/abvgd"), "1389") );
settings.remove("meh/podmac");
REQUIRE(NULL == settings.get("meh/podmac") );
REQUIRE(settings.get("meh/podmac").isEmpty() );
settings.clear();
@@ -43,7 +43,7 @@ TEST_CASE("Settings", "")
bx::close(&reader);
}
REQUIRE(NULL == settings.get("meh") );
REQUIRE(settings.get("meh").isEmpty() );
REQUIRE(0 == bx::strCmp(settings.get("meh/podmac"), "true") );
REQUIRE(0 == bx::strCmp(settings.get("test/foo/bar/abvgd"), "1389") );
}