]> git.tdb.fi Git - libs/core.git/commitdiff
Verify that a path initialized with an empty string is empty
authorMikko Rasa <tdb@tdb.fi>
Mon, 9 Jul 2012 16:34:51 +0000 (19:34 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 9 Jul 2012 16:34:51 +0000 (19:34 +0300)
tests/path.cpp

index 0811c49a28457c35f6d2fa04fbf2d7d2d4962c5d..6e88da30c07e5201b4af0ea9e566e1f713810dde 100644 (file)
@@ -39,6 +39,7 @@ PathTests::PathTests()
 void PathTests::empty()
 {
        EXPECT(FS::Path().empty());
+       EXPECT(FS::Path("").empty());
        EXPECT(!FS::Path(".").empty());
 }