Skip to content

Commit

Permalink
Fix path_from_file_url function test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Aug 24, 2024
1 parent 02e830b commit efabe2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-url.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ TEST_CASE("path_from_file_url") {
// Unsupported "." hostname
CHECK_THROWS_AS(path_from_file_url("file://./name", upa::file_path_format::windows), upa::url_error);
// null character
CHECK_THROWS_AS(path_from_file_url("file:///C:/p%00", upa::file_path_format::posix), upa::url_error);
CHECK_THROWS_AS(path_from_file_url("file:///C:/p%00", upa::file_path_format::windows), upa::url_error);
}
SUBCASE("Native path") {
#ifdef _WIN32
Expand Down

0 comments on commit efabe2e

Please sign in to comment.