From c4f8544e6ea1b317bd970c151f46ba5065ea5317 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Wed, 3 Apr 2013 22:28:08 -0600 Subject: [PATCH] Change fail_unless! to assert!. I missed some of these in the tests. --- wapcaplet.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wapcaplet.rc b/wapcaplet.rc index 67295d2..a697d7a 100644 --- a/wapcaplet.rc +++ b/wapcaplet.rc @@ -102,9 +102,9 @@ fn smoke_test() { let s2 = from_lwc_string(s1.string); debug!("%?", s1.len()); debug!("%?", s2.len()); - fail_unless!(s2.len() == 4); + assert!(s2.len() == 4); let s3 = s2.to_str(); - fail_unless!(s3 == ~"test"); + assert!(s3 == ~"test"); } #[test]