From dc1f3b79f8b528659e39057ac733d07e1051bc4d Mon Sep 17 00:00:00 2001 From: liv Date: Wed, 23 Jan 2019 20:48:01 +0100 Subject: add tests; refactor exercise links --- exercises/tests/tests3.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exercises/tests/tests3.rs') diff --git a/exercises/tests/tests3.rs b/exercises/tests/tests3.rs index e041f38..e10d2aa 100755 --- a/exercises/tests/tests3.rs +++ b/exercises/tests/tests3.rs @@ -1,6 +1,6 @@ // tests3.rs // This test isn't testing our function -- make it do that in such a way that -// the test passes. Then write a second test that tests that we get the result +// the test passes. Then write a second test that tests whether we get the result // we expect to get when we call `is_even(5)`. Scroll down for hints! pub fn is_even(num: i32) -> bool { @@ -13,7 +13,7 @@ mod tests { #[test] fn is_true_when_even() { - assert!(false); + assert!(); } } -- cgit v1.2.3