Skip to content

Commit

Permalink
trim head
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjj27 committed Nov 16, 2018
1 parent 7fd7312 commit 837393b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/all/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ fn build_with_and_without_wasm_bindgen_debug() {
"Should only contain moved value assertions when debug assertions are enabled"
);
}
}

#[cfg(target_os = "windows")]
#[test]
fn it_format_out_dir_on_windows() {
Expand All @@ -242,7 +244,7 @@ fn it_format_out_dir_on_windows() {

let wasm_pack_log = utils::file::read_file(&fixture.path.join("wasm-pack.log")).unwrap();
assert!(
wasm_pack_log.contains(r"Your wasm pkg is ready to publish at \\?\C:\Users\"),
wasm_pack_log.contains(r"Your wasm pkg is ready to publish at c:\Users\"),
"directories in wasm-pack.log should be well formatted",
);
}

0 comments on commit 837393b

Please sign in to comment.