From 87b166d94a16d3b7e32ba53d0cec7a5d3fd776ba Mon Sep 17 00:00:00 2001 From: klutzy Date: Wed, 6 Nov 2013 12:16:47 +0900 Subject: std: Remove unused attributes This also enables two tests properly. --- src/libstd/vec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/vec.rs') diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 5cc344fdfc1..7e797cec03f 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -2704,7 +2704,7 @@ mod tests { assert_eq!(a.init(), &[11]); } - #[init] + #[test] #[should_fail] fn test_init_empty() { let a: ~[int] = ~[]; @@ -2719,7 +2719,7 @@ mod tests { assert_eq!(a.initn(2), &[11]); } - #[init] + #[test] #[should_fail] fn test_initn_empty() { let a: ~[int] = ~[]; -- cgit 1.4.1-3-g733a5