1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-16 18:20:51 +00:00

Add some missing features to tests

This commit is contained in:
Alex Crichton 2018-04-02 09:58:15 -07:00
parent 73619b5d15
commit 188d368583

@ -4,7 +4,7 @@ extern crate test_support;
fn simple() {
test_support::project()
.file("src/lib.rs", r#"
#![feature(proc_macro, wasm_custom_section)]
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;
@ -56,7 +56,7 @@ fn simple() {
fn strings() {
test_support::project()
.file("src/lib.rs", r#"
#![feature(proc_macro, wasm_custom_section)]
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;
@ -114,7 +114,7 @@ fn strings() {
fn exceptions() {
test_support::project()
.file("src/lib.rs", r#"
#![feature(proc_macro, wasm_custom_section)]
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;
@ -179,7 +179,7 @@ fn exceptions() {
fn pass_one_to_another() {
test_support::project()
.file("src/lib.rs", r#"
#![feature(proc_macro, wasm_custom_section)]
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;
@ -276,7 +276,7 @@ fn pass_into_js() {
fn issue_27() {
test_support::project()
.file("src/lib.rs", r#"
#![feature(proc_macro, wasm_custom_section)]
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;