summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-08-13 17:33:18 +0800
committerGitHub <noreply@github.com>2021-08-13 11:33:18 +0200
commit293eed0ef2de1bf1563811e3a1fe3fafb436636d (patch)
treec96ac33532e19738daf0ed8922255eff1e622057 /cli/tests/integration/test_tests.rs
parentc1f97056f42d20158d469d023652f3b338411007 (diff)
test(cli): add test for test filtering (#11672)
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index b9b2d41ff..36bd6b94c 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -139,6 +139,12 @@ itest!(unhandled_rejection {
output: "test/unhandled_rejection.out",
});
+itest!(filter {
+ args: "test --filter=foo test/filter",
+ exit_code: 0,
+ output: "test/filter.out",
+});
+
itest!(shuffle {
args: "test --shuffle test/shuffle",
exit_code: 0,