mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-23 09:41:33 +00:00
Attempted to tackle #1622
This commit is contained in:
@ -40,7 +40,7 @@ extern "C" {
|
||||
#[wasm_bindgen_test]
|
||||
fn bind() {
|
||||
let f = get_function_to_bind();
|
||||
let new_f = f.bind(&get_value_to_bind_to());
|
||||
let new_f = f.bind0(&get_value_to_bind_to());
|
||||
assert_eq!(call_function(f), 1);
|
||||
assert_eq!(call_function(new_f), 2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user