cargo test -p wasm-bindgen-cli
tpmccallum$ cargo test -p wasm-bindgen-cli --test reference
Finished test [unoptimized + debuginfo] target(s) in 0.27s
Running /Users/tpmccallum/wasm-bindgen/target/debug/deps/reference-fa94d6404d107293
failed tests:
/Users/tpmccallum/wasm-bindgen/crates/cli/tests/reference/anyref-empty.rs failure
found a difference:
(module
(type (;0;) (func))
(import "./reference_test.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
(table (;0;) 32 anyref)
- (memory (;0;) 17)
+ (memory (;0;) 16)
(export "memory" (memory 0))
(export "__wbindgen_export_0" (table 0))
(export "__wbindgen_start" (func 0)))
/Users/tpmccallum/wasm-bindgen/crates/cli/tests/reference/anyref-import-catch.rs failure
found a difference:
(module
(type (;0;) (func))
(type (;1;) (func (result i32)))
(type (;2;) (func (param i32)))
(import "./reference_test.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
(func $__wbindgen_exn_store (type 2) (param i32))
- (func $exported (type 0))
(func $__anyref_table_alloc (type 1) (result i32))
+ (func $exported (type 0))
(table (;0;) 32 anyref)
(memory (;0;) 17)
(export "memory" (memory 0))
(export "exported" (func $exported))
(export "__wbindgen_export_0" (table 0))
(export "__wbindgen_exn_store" (func $__wbindgen_exn_store))
(export "__anyref_table_alloc" (func $__anyref_table_alloc))
(export "__wbindgen_start" (func 0)))
/Users/tpmccallum/wasm-bindgen/crates/cli/tests/reference/empty.rs failure
found a difference:
(module
- (memory (;0;) 17)
+ (memory (;0;) 16)
(export "memory" (memory 0)))
Error: tests failed
error: test failed, to rerun pass '-p wasm-bindgen-cli --test reference'
Last active
February 5, 2020 01:25
-
-
Save tpmccallum/340a5ed62ff48861dc37deb152b977dd to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment