From 58c3a99f94d2e5c41faae50016284d7faf7c8b06 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 8 Nov 2018 12:30:40 -0800 Subject: [PATCH] Fix a test to actually test the right property This was a copy/paste typo! --- tests/wasm/import_class.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wasm/import_class.rs b/tests/wasm/import_class.rs index 906147b1..8af90e0e 100644 --- a/tests/wasm/import_class.rs +++ b/tests/wasm/import_class.rs @@ -140,7 +140,7 @@ fn switch_methods() { SwitchMethods::new().b(); assert!(switch_methods_called()); - switch_methods_a(); + switch_methods_b(); assert!(!switch_methods_called()); SwitchMethods::new().b();