From 3348b37b8e537f5d3fbeec6c73d1404ede8fa27f Mon Sep 17 00:00:00 2001 From: David Peter Date: Mon, 21 Feb 2022 20:45:04 +0100 Subject: [PATCH] Faster tests --- tests/integration_tests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 048955e..29652ce 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -75,6 +75,7 @@ fn fails_with_duplicate_parameter_names() { #[test] fn fails_for_unknown_command() { hyperfine() + .arg("--runs=1") .arg("some-nonexisting-program-b5d9574198b7e4b12a71fa4747c0a577") .assert() .failure() @@ -86,6 +87,7 @@ fn fails_for_unknown_command() { #[test] fn fails_for_unknown_setup_command() { hyperfine() + .arg("--runs=1") .arg("--setup=some-nonexisting-program-b5d9574198b7e4b12a71fa4747c0a577") .arg("echo test") .assert() @@ -98,6 +100,7 @@ fn fails_for_unknown_setup_command() { #[test] fn fails_for_unknown_cleanup_command() { hyperfine() + .arg("--runs=1") .arg("--cleanup=some-nonexisting-program-b5d9574198b7e4b12a71fa4747c0a577") .arg("echo test") .assert()