From 487ec64a78dccbc003356acf2be9fcc184ef438c Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 20 May 2023 01:42:45 +0200 Subject: [PATCH] run-tests: Prefer LibFileSystem over DeprecatedFile --- Userland/Utilities/run-tests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Utilities/run-tests.cpp b/Userland/Utilities/run-tests.cpp index 0eba0b7190..ca52fd6931 100644 --- a/Userland/Utilities/run-tests.cpp +++ b/Userland/Utilities/run-tests.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include @@ -371,7 +370,7 @@ ErrorOr serenity_main(Main::Arguments arguments) return 1; } - test_root = Core::DeprecatedFile::real_path_for(test_root); + test_root = TRY(FileSystem::real_path(test_root)).to_deprecated_string(); auto void_or_error = Core::System::chdir(test_root); if (void_or_error.is_error()) {