mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
AK: TestSuite's main should return 0
This commit is contained in:
parent
9714e61d62
commit
54c6886108
Notes:
sideshowbarker
2024-07-19 04:07:07 +09:00
Author: https://github.com/BenWiederhake
Commit: 54c6886108
Pull-request: https://github.com/SerenityOS/serenity/pull/3057
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bgianfo
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ using AK::TestSuite;
|
||||||
static_assert(compiletime_lenof(___str(SuiteName)) != 0, "Set SuiteName"); \
|
static_assert(compiletime_lenof(___str(SuiteName)) != 0, "Set SuiteName"); \
|
||||||
TestSuite::the().main(___str(SuiteName), argc, argv); \
|
TestSuite::the().main(___str(SuiteName), argc, argv); \
|
||||||
TestSuite::release(); \
|
TestSuite::release(); \
|
||||||
|
return 0; \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define assertEqual(one, two) \
|
#define assertEqual(one, two) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue