Skip to content

Commit 8fd0024

Browse files
authored
fix(test): remove nonexistent url_pattern::to_string() call (#971)
1 parent dbd9e11 commit 8fd0024

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/wpt_urlpattern_tests.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,15 @@ TEST(wpt_urlpattern_tests, urlpattern_test_data) {
462462
FAIL() << "Test should have succeeded but failed" << std::endl
463463
<< main_object.raw_json().value() << std::endl;
464464
}
465-
ada_log("parse_result: ", parse_result->to_string());
465+
ada_log("parse_result:");
466+
ada_log(" protocol: '", parse_result->get_protocol(), "'");
467+
ada_log(" username: '", parse_result->get_username(), "'");
468+
ada_log(" password: '", parse_result->get_password(), "'");
469+
ada_log(" hostname: '", parse_result->get_hostname(), "'");
470+
ada_log(" port: '", parse_result->get_port(), "'");
471+
ada_log(" pathname: '", parse_result->get_pathname(), "'");
472+
ada_log(" search: '", parse_result->get_search(), "'");
473+
ada_log(" hash: '", parse_result->get_hash(), "'");
466474
ondemand::array exactly_empty_components;
467475
if (!main_object["exactly_empty_components"].get_array().get(
468476
exactly_empty_components)) {

0 commit comments

Comments
 (0)