From c895cd2ebda626deeb5efe61bee1051ed3a2176c Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 26 Aug 2022 15:46:51 -0700 Subject: [PATCH] simplify regex in test.. --- ui/fixtures/cmd.auto.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/fixtures/cmd.auto.json b/ui/fixtures/cmd.auto.json index b34a966..9cd208f 100644 --- a/ui/fixtures/cmd.auto.json +++ b/ui/fixtures/cmd.auto.json @@ -14,7 +14,7 @@ "title": "Verify modification", "cmd": [ "list", "test.txt" ], "stdin": "y\n", - "stdout_re": ".*mimetype:\ttext/plain; charset=us-ascii.*" + "stdout_re": "mimetype:\ttext/plain; charset=us-ascii" }, { "title": "Test auto detection of jpeg file", @@ -26,6 +26,6 @@ "title": "Verify modification", "cmd": [ "list", "z.jpg" ], "stdin": "y\n", - "stdout_re": ".*mimetype:\timage/jpeg" + "stdout_re": "mimetype:\timage/jpeg" } ]