From 04f93be158937e5cc327b9be3d3910f9a4222637 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 1 Feb 2013 15:24:16 -0800 Subject: [PATCH] Fix breakage --- src/libsyntax/util/testing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsyntax/util/testing.rs b/src/libsyntax/util/testing.rs index d70e503a568..39d3b003e66 100644 --- a/src/libsyntax/util/testing.rs +++ b/src/libsyntax/util/testing.rs @@ -13,12 +13,12 @@ use core::cmp; pub pure fn check_equal_ptr (given : &T, expected: &T) { if !((given == expected) && (expected == given )) { - fail (fmt!("given %?, expected %?",given,expected)); + die!(fmt!("given %?, expected %?",given,expected)); } } pub pure fn check_equal (given : T, expected: T) { if !((given == expected) && (expected == given )) { - fail (fmt!("given %?, expected %?",given,expected)); + die!(fmt!("given %?, expected %?",given,expected)); } }