Skip to content

Commit

Permalink
test(command/build): right test case
Browse files Browse the repository at this point in the history
the test case would pass after solving rustwasm#408
  • Loading branch information
huangjj27 committed Nov 16, 2018
1 parent 472890c commit 054e173
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/all/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,9 @@ fn it_format_out_dir_on_windows() {
"build",
&fixture.path.display().to_string(),
])
let result = command::run_wasm_pack(cli.cmd, &logger);
assert!(result.is_ok(), "js_hello_world example should pass");
let logger = logger::new(&cli.cmd, 1).unwrap();
let _result =
command::run_wasm_pack(cli.cmd, &logger).expect("js_hello_world example should pass");

let wasm_pack_log = utils::file::read_file(&fixture.path.join("wasm-pack.log")).unwrap();
assert!(
Expand Down

0 comments on commit 054e173

Please sign in to comment.