Skip to content

Commit 90e4f50

Browse files
committed
Format Origin unit tests
1 parent 3222b34 commit 90e4f50

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

url/tests/unit.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ fn test_origin_unicode_serialization() {
537537
("http://😅.com", "http://😅.com"),
538538
("ftp://😅:🙂@🙂.com", "ftp://🙂.com"),
539539
("https://user@😅.com", "https://😅.com"),
540-
("http://😅.🙂:40", "http://😅.🙂:40")
540+
("http://😅.🙂:40", "http://😅.🙂:40"),
541541
];
542542
for &(unicode_url, expected_serialization) in &data {
543543
let origin = Url::parse(unicode_url).unwrap().origin();
@@ -560,7 +560,10 @@ fn test_origin_unicode_serialization() {
560560
Url::parse("http://127.0.0.1").unwrap().origin(),
561561
];
562562
for ascii_origin in &ascii_origins {
563-
assert_eq!(ascii_origin.ascii_serialization(), ascii_origin.unicode_serialization());
563+
assert_eq!(
564+
ascii_origin.ascii_serialization(),
565+
ascii_origin.unicode_serialization()
566+
);
564567
}
565568
}
566569

0 commit comments

Comments
 (0)