From cd3a72b3671a32c89b66ade39a6bb3dd2f51b503 Mon Sep 17 00:00:00 2001 From: davidot Date: Sun, 11 Sep 2022 10:44:03 +0200 Subject: [PATCH] test262-runner: Convert dbgln to warnln Since this application is now supposed to be used from within Serenity we should make sure to warn the actual user. --- Tests/LibJS/test262-runner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/LibJS/test262-runner.cpp b/Tests/LibJS/test262-runner.cpp index 47b000f6c6..a63763933d 100644 --- a/Tests/LibJS/test262-runner.cpp +++ b/Tests/LibJS/test262-runner.cpp @@ -584,7 +584,7 @@ int main(int argc, char** argv) } if (timeout <= 0) { - dbgln("timeout must be atleast 1"); + warnln("timeout must be atleast 1"); return 2; } @@ -671,7 +671,7 @@ int main(int argc, char** argv) auto file = Core::File::construct(path); if (!file->open(Core::OpenMode::ReadOnly)) { - dbgln("Could not open file: {}", path); + warnln("Could not open file: {}", path); return 3; }