diff --git a/crates/webidl/Cargo.toml b/crates/webidl/Cargo.toml index fb23661c..51544224 100644 --- a/crates/webidl/Cargo.toml +++ b/crates/webidl/Cargo.toml @@ -7,7 +7,12 @@ authors = ["Nick Fitzgerald "] name = "webidl-all" path = "tests/all/lib.rs" +[[test]] +name = "webidl-expected" +path = "tests/expected/lib.rs" + [dev-dependencies] +wasm-bindgen = { version = "=0.2.11", path = "../..", default-features = false } wasm-bindgen-backend = { version = "=0.2.11", path = "../backend", features = ["extra-traits"] } diff = "0.1.11" diff --git a/crates/webidl/tests/expected/lib.rs b/crates/webidl/tests/expected/lib.rs new file mode 100755 index 00000000..521c2cad --- /dev/null +++ b/crates/webidl/tests/expected/lib.rs @@ -0,0 +1,6 @@ +#![feature(wasm_custom_section)] +#![allow(bad_style)] + +extern crate wasm_bindgen; + +mod Event;