mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 14:02:51 +00:00
run-tests: Prefer LibFileSystem over DeprecatedFile
This commit is contained in:
parent
6e08f860f8
commit
487ec64a78
Notes:
sideshowbarker
2024-07-17 05:18:58 +09:00
Author: https://github.com/BenWiederhake
Commit: 487ec64a78
Pull-request: https://github.com/SerenityOS/serenity/pull/18934
1 changed files with 1 additions and 2 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue