diff --git a/src/tests/kits/storage/MimeSnifferTest.cpp b/src/tests/kits/storage/MimeSnifferTest.cpp index ebfaf73722..c1205ae8a6 100644 --- a/src/tests/kits/storage/MimeSnifferTest.cpp +++ b/src/tests/kits/storage/MimeSnifferTest.cpp @@ -1078,6 +1078,10 @@ MimeSnifferTest::ParserTest() { cout << testCase.error << endl; } */ +if (error != B_BAD_MIME_SNIFFER_RULE) { +printf("rule: `%s'\n", testCase.rule); +RES(error); +} CHK(error == B_BAD_MIME_SNIFFER_RULE); CHK(parseError.FindLast(testCase.error) >= 0); } @@ -1377,4 +1381,4 @@ std::string("\000\034 000 034", 10), // Otherwise, it thinks the NULL is the end } } #endif // !TEST_R5 -} \ No newline at end of file +}