Make tests more future-proof with wasm-bindgen

This way when future wasm-bindgen version are published the tests will
continue working!
master
Alex Crichton 7 years ago
parent dd87211323
commit 3d1f528fc9
  1. 1
      src/manifest/mod.rs
  2. 8
      tests/all/utils/fixture.rs

@ -10,7 +10,6 @@ use std::path::Path;
use self::npm::{
repository::Repository, CommonJSPackage, ESModulesPackage, NoModulesPackage, NpmPackage,
};
use console::style;
use emoji;
use error::Error;
use progressbar::Step;

@ -94,10 +94,10 @@ impl Fixture {
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.21"
wasm-bindgen = "=0.2.21"
[dev-dependencies]
wasm-bindgen-test = "0.2.21"
wasm-bindgen-test = "=0.2.21"
"#,
name
),
@ -312,10 +312,10 @@ pub fn no_cdylib() -> Fixture {
# crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.21"
wasm-bindgen = "=0.2.21"
[dev-dependencies]
wasm-bindgen-test = "0.2.21"
wasm-bindgen-test = "=0.2.21"
"#,
);
fixture

Loading…
Cancel
Save