From 7c5df54dffb675729fd1161dea427b8ad1fa098f Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 1 Feb 2024 10:54:57 +0100 Subject: [PATCH] ignore test_fail --- members/revsqrt/tests/basic-revsqrt.rs | 1 + members/revsqrt/tests/features/book/revsqrt.feature | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/members/revsqrt/tests/basic-revsqrt.rs b/members/revsqrt/tests/basic-revsqrt.rs index 23a511a..ae3522f 100644 --- a/members/revsqrt/tests/basic-revsqrt.rs +++ b/members/revsqrt/tests/basic-revsqrt.rs @@ -65,6 +65,7 @@ fn test_calc_specific_reqular_rsqrt() { } #[test] +#[ignore] // this test confuses the CI fn test_fail() { println!("the stdout will be printed on fail!"); assert!(false) diff --git a/members/revsqrt/tests/features/book/revsqrt.feature b/members/revsqrt/tests/features/book/revsqrt.feature index ce1e108..4d9ce7e 100644 --- a/members/revsqrt/tests/features/book/revsqrt.feature +++ b/members/revsqrt/tests/features/book/revsqrt.feature @@ -123,9 +123,12 @@ Feature: inverted square root calculation | 0 | | 20000001.1 | Then they are not about the same - + Scenario: Test if we can use the asterisk Given a number * a number + * a number + * a number + * a number When we calculate the inverted square root of it normally - Then they are not about the same + Then the result can be calculated