diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-05-20 01:42:45 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-21 07:50:52 +0200 |
commit | 487ec64a78dccbc003356acf2be9fcc184ef438c (patch) | |
tree | ecb43e2ee54fca8621e2649f201ffb333ec4ec46 /Userland/Utilities | |
parent | 6e08f860f8e684a49e1b9e8359f9fbc19f8022d4 (diff) | |
download | serenity-487ec64a78dccbc003356acf2be9fcc184ef438c.zip |
run-tests: Prefer LibFileSystem over DeprecatedFile
Diffstat (limited to 'Userland/Utilities')
-rw-r--r-- | Userland/Utilities/run-tests.cpp | 3 |
1 files changed, 1 insertions, 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 <AK/LexicalPath.h> #include <LibCore/ArgsParser.h> #include <LibCore/ConfigFile.h> -#include <LibCore/DeprecatedFile.h> #include <LibCore/System.h> #include <LibCoredump/Backtrace.h> #include <LibFileSystem/FileSystem.h> @@ -371,7 +370,7 @@ ErrorOr<int> 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()) { |