From ccf531f53da8e295fdb5aa5e22160a77c17ed527 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 17 Aug 2023 17:45:10 -0700 Subject: [PATCH] Update a regression test for a changed error text Signed-off-by: Adam Williamson --- .../480009-when-mistaking-argument-of-strings/runtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Regression/480009-when-mistaking-argument-of-strings/runtest.sh b/tests/Regression/480009-when-mistaking-argument-of-strings/runtest.sh index bcbdc7c..993d256 100755 --- a/tests/Regression/480009-when-mistaking-argument-of-strings/runtest.sh +++ b/tests/Regression/480009-when-mistaking-argument-of-strings/runtest.sh @@ -38,11 +38,11 @@ rlJournalStart rlPhaseEnd rlPhaseStartTest "#3: strings -n 0" - rlRun "strings -n 0 2>&1 | grep 'invalid minimum string length 0'" 0 "Produced expected error msg: 'strings: invalid minimum string length 0'" + rlRun "strings -n 0 2>&1 | grep 'minimum string length is too small: 0'" 0 "Produced expected error msg: 'minimum string length is too small: 0'" rlPhaseEnd rlPhaseStartTest "#4: strings --bytes 0" - rlRun "strings --bytes 0 2>&1 | grep 'invalid minimum string length 0'" 0 "Produced expected error msg: 'strings: invalid minimum string length 0'" + rlRun "strings --bytes 0 2>&1 | grep 'minimum string length is too small: 0'" 0 "Produced expected error msg: 'minimum string length is too small: 0'" rlPhaseEnd rlJournalPrintText