mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-02 18:31:05 +00:00
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();
|
||
|
}
|