mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
test_env: Port to LibMain
This commit is contained in:
parent
3df8c9e9de
commit
8bd7c5b3d5
2 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <AK/Assertions.h>
|
||||
#include <AK/Format.h>
|
||||
#include <LibMain/Main.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -76,7 +77,7 @@ static void test_setenv_overwrite_empty()
|
|||
assert_env("EMPTYTEST", "Forcefully overwrite non-existing envvar");
|
||||
}
|
||||
|
||||
int main(int, char**)
|
||||
ErrorOr<int> serenity_main(Main::Arguments)
|
||||
{
|
||||
#define RUNTEST(x) \
|
||||
{ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue