From 3dadd5680723e2bc3779823459f0038136fdccd7 Mon Sep 17 00:00:00 2001 From: adispring Date: Tue, 25 Jun 2019 18:08:11 +0800 Subject: [PATCH] [typo] fix unit_testing wrong output --- src/testing/unit_testing.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/testing/unit_testing.md b/src/testing/unit_testing.md index a6060e9c0d..8800ed2d03 100644 --- a/src/testing/unit_testing.md +++ b/src/testing/unit_testing.md @@ -200,10 +200,12 @@ mod tests { ```bash $ cargo test -running 1 test +running 3 tests test tests::ignored_test ... ignored +test tests::test_add ... ok +test tests::test_add_hundred ... ok -test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out +test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out Doc-tests tmp-ignore