feat(test): test the dir passing

master
Ashley Williams 7 years ago
parent 786d8cc1a2
commit 1c097f03e0
  1. 2
      tests/wasm-pack.rs

@ -11,7 +11,7 @@ fn it_gets_the_crate_name_default_path() {
#[test]
fn it_gets_the_crate_name_provided_path() {
assert!(wasm_pack::get_crate_name("./examples/js-hello-world").is_ok());
assert_eq!(wasm_pack::get_crate_name(".").unwrap(), "js-hello-world");
assert_eq!(wasm_pack::get_crate_name("./examples/js-hello-world").unwrap(), "js-hello-world");
}
#[test]

Loading…
Cancel
Save