Skip to content

Commit 268c17e

Browse files
committed
Fix test
1 parent 96e2a04 commit 268c17e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

url/tests/unit.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ use alloc::string::{String, ToString};
4141
use alloc::vec::Vec;
4242
use core::cell::{Cell, RefCell};
4343
#[cfg(feature = "std")]
44-
use std::path::{Path, PathBuf};
44+
use std::{dbg, path::{Path, PathBuf}};
4545
use url::{form_urlencoded, Host, Origin, Url};
4646

4747
/// `std` version of `net`
@@ -1364,6 +1364,7 @@ fn test_file_with_drive_and_path() {
13641364
assert_eq!(url2.to_string(), "file:///p:/a");
13651365
}
13661366

1367+
#[cfg(feature = "std")]
13671368
#[test]
13681369
fn issue_864() {
13691370
let mut url = url::Url::parse("file://").unwrap();

0 commit comments

Comments
 (0)