From 3dff757927852aff3110e72934f891f029bb8a8d Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Fri, 13 Aug 2021 02:10:14 +0800 Subject: fix(cli): allow specifiers of unknown media types with test command (#11652) --- cli/tests/integration/test_tests.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'cli/tests/integration') diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index 1cb38562f..b9b2d41ff 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -55,10 +55,16 @@ itest!(doc { output: "test/doc.out", }); -itest!(doc_markdown { - args: "test --doc --allow-all test/doc_markdown", +itest!(markdown { + args: "test --doc --allow-all test/markdown.md", exit_code: 1, - output: "test/doc_markdown.out", + output: "test/markdown.out", +}); + +itest!(text { + args: "test --doc --allow-all test/text.md", + exit_code: 0, + output: "test/text.out", }); itest!(quiet { -- cgit v1.2.3