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 54d0314 commit 3cb55cfCopy full SHA for 3cb55cf
transform/tests/fixture.rs
@@ -22,13 +22,13 @@ fn use_client_fixture(input: PathBuf) {
22
let output = dir.join("output.js");
23
let config = read_to_string(dir.join("config.json")).expect("failed to read config.json");
24
let config: Config = serde_json::from_str(&config).unwrap();
25
- println!("filepath: {}", input.to_string_lossy());
+ let filepath: String = input.to_string_lossy().into()
26
27
test_fixture(
28
syntax(),
29
&|_tr| {
30
as_folder(TransformVisitor {
31
- filepath: input.to_string_lossy().into(),
+ filepath: filepath.replace("\\", "/"),
32
include: config.include.to_vec(),
33
})
34
},
0 commit comments