From e2605b42c7ce37717118fe240f7d0e8c4eae3598 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 31 Jan 2015 15:08:25 -0800 Subject: Rename #[should_fail] to #[should_panic] --- src/libsyntax/util/small_vector.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/util/small_vector.rs') diff --git a/src/libsyntax/util/small_vector.rs b/src/libsyntax/util/small_vector.rs index 90df23882a1..5bd6591cfb0 100644 --- a/src/libsyntax/util/small_vector.rs +++ b/src/libsyntax/util/small_vector.rs @@ -236,13 +236,13 @@ mod test { } #[test] - #[should_fail] + #[should_panic] fn test_expect_one_zero() { let _: isize = SmallVector::zero().expect_one(""); } #[test] - #[should_fail] + #[should_panic] fn test_expect_one_many() { SmallVector::many(vec!(1, 2)).expect_one(""); } -- cgit 1.4.1-3-g733a5