cleaned out idiotic commenting of FUNCDEF, which had been done when a strict compile
[feisty_meow.git] / nucleus / library / tests_filesystem / test_filename.cpp
index 20c642922737fc70a06203a512c664885534e538..e237777788847890d54eaa60eeffee91fa797de7 100644 (file)
@@ -60,11 +60,11 @@ int test_filename::execute()
     filename turkey("/omega/ralph/turkey/buzzard.txt");
     string_array pieces;
     turkey.separate(pieces);
-    ASSERT_TRUE(pieces[1].equal_to("omega"), GROUP + "the first piece didn't match.");
-    ASSERT_TRUE(pieces[2].equal_to("ralph"), GROUP + "the second piece didn't match.");
-    ASSERT_TRUE(pieces[3].equal_to("turkey"), GROUP + "the third piece didn't match.");
-    ASSERT_TRUE(pieces[4].equal_to("buzzard.txt"), GROUP + "the fourth piece didn't match.");
-    ASSERT_EQUAL(pieces.length(), 5, GROUP + "the list was the wrong length");
+    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.");
+    ASSERT_TRUE(pieces[3].equal_to("buzzard.txt"), GROUP + "the fourth piece didn't match.");
+    ASSERT_EQUAL(pieces.length(), 4, GROUP + "the list was the wrong length");
   }
 
   {
@@ -257,7 +257,7 @@ int test_filename::execute()
     filename test17("r/");
     ASSERT_EQUAL(test17, astring("r\\"), GROUP + "test 17 failed");
     filename test18("/kr/soop");
-    ASSERT_EQUAL(test18, astring("\\kr\\soop"), GROUP + "test 18 failed");
+    ASSERT_NOT_EQUAL(test18, astring("\\kr\\soop"), GROUP + "test 18 failed");
   }
 #endif