mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
Unit Tests
- Corrected output for skipped, pass and fail tests.
This commit is contained in:
parent
561e3b5a9b
commit
fa7a8389fe
1 changed files with 3 additions and 3 deletions
|
|
@ -403,7 +403,7 @@ void UnitTest::pass (const std::string& text)
|
||||||
++_passed;
|
++_passed;
|
||||||
std::cout << "ok "
|
std::cout << "ok "
|
||||||
<< _counter
|
<< _counter
|
||||||
<< " "
|
<< " - "
|
||||||
<< text
|
<< text
|
||||||
<< "\n";
|
<< "\n";
|
||||||
}
|
}
|
||||||
|
|
@ -415,7 +415,7 @@ void UnitTest::fail (const std::string& text)
|
||||||
++_failed;
|
++_failed;
|
||||||
std::cout << "not ok "
|
std::cout << "not ok "
|
||||||
<< _counter
|
<< _counter
|
||||||
<< " "
|
<< " - "
|
||||||
<< text
|
<< text
|
||||||
<< "\n";
|
<< "\n";
|
||||||
}
|
}
|
||||||
|
|
@ -427,7 +427,7 @@ void UnitTest::skip (const std::string& text)
|
||||||
++_skipped;
|
++_skipped;
|
||||||
std::cout << "skip "
|
std::cout << "skip "
|
||||||
<< _counter
|
<< _counter
|
||||||
<< " "
|
<< " - "
|
||||||
<< text
|
<< text
|
||||||
<< "\n";
|
<< "\n";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue