diff --git a/src/bindgen.rs b/src/bindgen.rs index 512eb51..32f7063 100644 --- a/src/bindgen.rs +++ b/src/bindgen.rs @@ -8,11 +8,8 @@ use failure::{self, ResultExt}; use manifest::CrateData; use progressbar::Step; use slog::Logger; -<<<<<<< HEAD use std::fs; -======= use std::env; ->>>>>>> bugfix(command/build): passing test case use std::path::{Path, PathBuf}; use std::process::Command; use target; diff --git a/tests/all/build.rs b/tests/all/build.rs index 9a42ed9..18028d3 100644 --- a/tests/all/build.rs +++ b/tests/all/build.rs @@ -34,7 +34,6 @@ fn it_should_build_js_hello_world_example() { &fixture.path.display().to_string(), ]) .unwrap(); -<<<<<<< HEAD fixture.run(cli.cmd).unwrap(); } @@ -139,11 +138,6 @@ fn it_should_build_nested_project_with_transitive_dependencies() { ]) .unwrap(); fixture.run(cli.cmd).unwrap(); -======= - let logger = logger::new(&cli.cmd, cli.verbosity).unwrap(); - command::run_wasm_pack(cli.cmd, &logger) - .expect("running wasm-pack in a js-hello-world directory should succeed."); ->>>>>>> bugfix(command/build): passing test case } #[test] @@ -243,15 +237,9 @@ fn it_format_out_dir_on_windows() { "build", &fixture.path.display().to_string(), ]) -<<<<<<< HEAD let logger = logger::new(&cli.cmd, 1).unwrap(); let _result = command::run_wasm_pack(cli.cmd, &logger).expect("js_hello_world example should pass"); -======= - .unwrap(); - let result = command::run_wasm_pack(cli.cmd, &logger); - assert!(result.is_ok(), "js_hello_world example should pass"); ->>>>>>> bugfix(command/build): passing test case let wasm_pack_log = utils::file::read_file(&fixture.path.join("wasm-pack.log")).unwrap(); assert!(