mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Cleanup.
This commit is contained in:
@@ -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") );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user