wasm-bindgen-utils 0.0.11

Provides utilities and helpers that make working with wasm-bindgen easy
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[test]
pub fn happy() {
    // to update the tests "*.expanded.rs" fixtures, first
    // delete them and then run cargo test to regenerate them
    macrotest::expand("tests/happy/*.test.rs");
}

#[test]
fn unhappy() {
    // to update the tests "*.stderr" fixtures, set
    // env TRYBUILD=overwrite and then run cargo test
    let test_runner = trybuild::TestCases::new();
    test_runner.compile_fail("tests/unhappy/*.test.rs");
}