You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -559,6 +570,17 @@ impl std::str::FromStr for Url {
559
570
#[cfg(test)]
560
571
mod test {
561
572
usesuper::*;
573
+
574
+
#[test]
575
+
fnspike_debug(){
576
+
// TODO: This is a spike test to see if the debug output is correct. Update or remove this test once clarified that the output is as expected - @chanced
577
+
let tests = [("https://www.ada-url.com/playground")];
578
+
for value in tests {
579
+
let url = Url::parse(value,None).expect("Should have parsed url");
580
+
println!("{:?}", url);
581
+
}
582
+
}
583
+
562
584
#[test]
563
585
fnshould_display_serialization(){
564
586
let tests = [
@@ -572,6 +594,7 @@ mod test {
572
594
assert_eq!(url.to_string(), expected);
573
595
}
574
596
}
597
+
575
598
#[test]
576
599
fnshould_parse_with_try_from(){
577
600
let tests = [("http://example.com/",true),("invalid url",false)];
0 commit comments