Commit cbcee83f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

FsUtilsTests: Add a couple more tests

parent 75f9d65b
......@@ -107,6 +107,8 @@ TEST( FsUtils, parentFolder )
ASSERT_EQ( "C:/a/b/", utils::file::parentDirectory( "C:/a/b/c\\" ) );
ASSERT_EQ( "C:\\a\\b\\", utils::file::parentDirectory( "C:\\a\\b\\c\\" ) );
ASSERT_EQ( "C:\\a\\b\\", utils::file::parentDirectory( "C:\\a\\b\\c" ) );
ASSERT_EQ( "", utils::file::parentDirectory( "C:\\" ) );
ASSERT_EQ( "", utils::file::parentDirectory( "C:/" ) );
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment