From: Mikko Rasa Date: Mon, 9 Jul 2012 16:34:51 +0000 (+0300) Subject: Verify that a path initialized with an empty string is empty X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=d6ed39cbd1270592ce0bb6b838c7b9320672b35f;p=libs%2Fcore.git Verify that a path initialized with an empty string is empty --- diff --git a/tests/path.cpp b/tests/path.cpp index 0811c49..6e88da3 100644 --- a/tests/path.cpp +++ b/tests/path.cpp @@ -39,6 +39,7 @@ PathTests::PathTests() void PathTests::empty() { EXPECT(FS::Path().empty()); + EXPECT(FS::Path("").empty()); EXPECT(!FS::Path(".").empty()); }