mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-22 12:42:14 +00:00
Fix a test to actually test the right property
This was a copy/paste typo!
This commit is contained in:
parent
64a6241960
commit
58c3a99f94
@ -140,7 +140,7 @@ fn switch_methods() {
|
|||||||
SwitchMethods::new().b();
|
SwitchMethods::new().b();
|
||||||
assert!(switch_methods_called());
|
assert!(switch_methods_called());
|
||||||
|
|
||||||
switch_methods_a();
|
switch_methods_b();
|
||||||
|
|
||||||
assert!(!switch_methods_called());
|
assert!(!switch_methods_called());
|
||||||
SwitchMethods::new().b();
|
SwitchMethods::new().b();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user