We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57842b0 commit 69bc9aeCopy full SHA for 69bc9ae
url/tests/unit.rs
@@ -606,6 +606,7 @@ fn test_origin_unicode_serialization() {
606
];
607
for &(unicode_url, expected_serialization) in &data {
608
let origin = Url::parse(unicode_url).unwrap().origin();
609
+ #[allow(deprecated)]
610
assert_eq!(origin.unicode_serialization(), *expected_serialization);
611
}
612
@@ -625,6 +626,7 @@ fn test_origin_unicode_serialization() {
625
626
Url::parse("http://127.0.0.1").unwrap().origin(),
627
628
for ascii_origin in &ascii_origins {
629
630
assert_eq!(
631
ascii_origin.ascii_serialization(),
632
ascii_origin.unicode_serialization()
0 commit comments