Skip to content

Commit 3cb55cf

Browse files
test
1 parent 54d0314 commit 3cb55cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transform/tests/fixture.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ fn use_client_fixture(input: PathBuf) {
2222
let output = dir.join("output.js");
2323
let config = read_to_string(dir.join("config.json")).expect("failed to read config.json");
2424
let config: Config = serde_json::from_str(&config).unwrap();
25-
println!("filepath: {}", input.to_string_lossy());
25+
let filepath: String = input.to_string_lossy().into()
2626

2727
test_fixture(
2828
syntax(),
2929
&|_tr| {
3030
as_folder(TransformVisitor {
31-
filepath: input.to_string_lossy().into(),
31+
filepath: filepath.replace("\\", "/"),
3232
include: config.include.to_vec(),
3333
})
3434
},

0 commit comments

Comments
 (0)