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 d2feb29 commit e2344bdCopy full SHA for e2344bd
url/tests/unit.rs
@@ -607,6 +607,7 @@ fn test_origin_unicode_serialization() {
607
];
608
for &(unicode_url, expected_serialization) in &data {
609
let origin = Url::parse(unicode_url).unwrap().origin();
610
+ #[allow(deprecated)]
611
assert_eq!(origin.unicode_serialization(), *expected_serialization);
612
}
613
@@ -626,6 +627,7 @@ fn test_origin_unicode_serialization() {
626
627
Url::parse("http://127.0.0.1").unwrap().origin(),
628
629
for ascii_origin in &ascii_origins {
630
631
assert_eq!(
632
ascii_origin.ascii_serialization(),
633
ascii_origin.unicode_serialization()
0 commit comments