Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
12
third-party/vendor/wasm-bindgen/tests/headless/modules.rs
vendored
Normal file
12
third-party/vendor/wasm-bindgen/tests/headless/modules.rs
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
use wasm_bindgen::prelude::*;
|
||||
use wasm_bindgen_test::*;
|
||||
|
||||
#[wasm_bindgen(raw_module = "./tests/headless/modules.js")]
|
||||
extern "C" {
|
||||
fn get_five() -> u32;
|
||||
}
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
fn test_get_five() {
|
||||
assert_eq!(get_five(), 5);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue