Fix a test to actually test the right property

This was a copy/paste typo!
This commit is contained in:
Alex Crichton 2018-11-08 12:30:40 -08:00
parent 64a6241960
commit 58c3a99f94

View File

@ -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();