X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ftests_filesystem%2Ftest_filename.cpp;h=6fa80759ceac3b118a564f0ab4a5a9697a3b3e7c;hb=2124f07354cd4e237acb129c536ec8af53b8cbd8;hp=e237777788847890d54eaa60eeffee91fa797de7;hpb=51d71c226be424b6a698c7474d237e8c69661af5;p=feisty_meow.git diff --git a/nucleus/library/tests_filesystem/test_filename.cpp b/nucleus/library/tests_filesystem/test_filename.cpp index e2377777..6fa80759 100644 --- a/nucleus/library/tests_filesystem/test_filename.cpp +++ b/nucleus/library/tests_filesystem/test_filename.cpp @@ -59,7 +59,9 @@ int test_filename::execute() astring GROUP = "separate-- "; filename turkey("/omega/ralph/turkey/buzzard.txt"); string_array pieces; - turkey.separate(pieces); + bool rooted; + turkey.separate(rooted, pieces); + ASSERT_TRUE(rooted, GROUP + "the rooted value is erreonous."); ASSERT_TRUE(pieces[0].equal_to("omega"), GROUP + "the first piece didn't match."); ASSERT_TRUE(pieces[1].equal_to("ralph"), GROUP + "the second piece didn't match."); ASSERT_TRUE(pieces[2].equal_to("turkey"), GROUP + "the third piece didn't match.");