diff options
author | networkException <git@nwex.de> | 2023-04-11 14:53:40 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-11 16:28:20 +0200 |
commit | 9915fa72fbb161526616f4ff485a112fecd1f59c (patch) | |
tree | 82a30b3d2f770db2111e8b4d28aed8e6909eae1d /Tests | |
parent | 38bdf4d159e6891b07c3a59dd274b9d18f3af0b5 (diff) | |
download | serenity-9915fa72fbb161526616f4ff485a112fecd1f59c.zip |
AK+Everywhere: Use Optional for URLParser::parse's base_url parameter
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/AK/TestURL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/AK/TestURL.cpp b/Tests/AK/TestURL.cpp index 4ec7e35283..49ea621640 100644 --- a/Tests/AK/TestURL.cpp +++ b/Tests/AK/TestURL.cpp @@ -411,7 +411,7 @@ TEST_CASE(complete_file_url_with_base) TEST_CASE(empty_url_with_base_url) { URL base_url { "https://foo.com/"sv }; - URL parsed_url = URLParser::parse(""sv, &base_url); + URL parsed_url = URLParser::parse(""sv, base_url); EXPECT_EQ(parsed_url.is_valid(), true); EXPECT(base_url.equals(parsed_url)); } |