diff options
Diffstat (limited to 'src/test/run-pass/overload-index-operator.rs')
| -rw-r--r-- | src/test/run-pass/overload-index-operator.rs | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/run-pass/overload-index-operator.rs b/src/test/run-pass/overload-index-operator.rs index 7d1d0c6be0e..3030bedcccc 100644 --- a/src/test/run-pass/overload-index-operator.rs +++ b/src/test/run-pass/overload-index-operator.rs @@ -47,9 +47,9 @@ pub fn main() { list.push(copy foo, 22); list.push(copy bar, 44); - fail_unless!(list[foo] == 22) - fail_unless!(list[bar] == 44) + assert!(list[foo] == 22) + assert!(list[bar] == 44) - fail_unless!(list[foo] == 22) - fail_unless!(list[bar] == 44) + assert!(list[foo] == 22) + assert!(list[bar] == 44) } \ No newline at end of file  | 
