mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
TestSuite: Make tests actually run (oops!)
We were not actually running any of the unit tests, only getting a pointer to them. Thankfully they all pass, even after we start running them. :^)
This commit is contained in:
parent
6eb4ace6e8
commit
2fedf36276
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ void TestSuite::run(const NonnullRefPtrVector<TestCase>& tests)
|
|||
dbg() << "START Running " << (t.is_benchmark() ? "benchmark" : "test") << " " << t.name();
|
||||
TestElapsedTimer timer;
|
||||
try {
|
||||
t.func();
|
||||
t.func()();
|
||||
} catch (const TestException& t) {
|
||||
fprintf(stderr, "\033[31;1mFAIL\033[0m: %s\n", t.to_string().characters());
|
||||
exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue