Fix the pass() function to use the standard syntax too. (Bug 477512) r=jwalden

This commit is contained in:
L. David Baron 2009-02-10 16:56:32 -08:00
Родитель aab1c02b20
Коммит 5156de9b53
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -72,12 +72,13 @@ void fail(const char* msg, ...)
}
/**
* Prints the given string followed by " PASSED!\n", to be used at the end
* of a successful test function.
* Prints the given string prepending "TEST-PASS | " for the benefit of
* the test harness and with "\n" at the end, to be used at the end of a
* successful test function.
*/
void passed(const char* test)
{
printf("%s PASSED!\n", test);
printf("TEST-PASS | %s\n", test);
}