diff options
Diffstat (limited to 'Userland/Utilities/run-tests.cpp')
-rw-r--r-- | Userland/Utilities/run-tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Utilities/run-tests.cpp b/Userland/Utilities/run-tests.cpp index fa93cfaa46..eefc23b124 100644 --- a/Userland/Utilities/run-tests.cpp +++ b/Userland/Utilities/run-tests.cpp @@ -7,7 +7,7 @@ #include <AK/LexicalPath.h> #include <LibCore/ArgsParser.h> #include <LibCore/ConfigFile.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <LibCore/System.h> #include <LibCoredump/Backtrace.h> #include <LibMain/Main.h> @@ -365,12 +365,12 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) } else { test_root = "/usr/Tests"; } - if (!Core::File::is_directory(test_root)) { + if (!Core::DeprecatedFile::is_directory(test_root)) { warnln("Test root is not a directory: {}", test_root); return 1; } - test_root = Core::File::real_path_for(test_root); + test_root = Core::DeprecatedFile::real_path_for(test_root); auto void_or_error = Core::System::chdir(test_root); if (void_or_error.is_error()) { |