mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-07 13:43:03 +03:00
535aa3193c
Can't reproduce the errors on Azure locally, but hopefully tweaking generated code can get things to work.
11 lines
213 B
Rust
11 lines
213 B
Rust
use wasm_bindgen_test::*;
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/no_interface.rs"));
|
|
|
|
#[wasm_bindgen_test]
|
|
fn smoke() {
|
|
let obj = GetNoInterfaceObject::get();
|
|
assert_eq!(obj.number(), 3.0);
|
|
obj.foo();
|
|
}
|