From ad6009f5bf989d0e1e18ed507063b6911d48066e Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Fri, 2 Dec 2022 13:19:37 -0400 Subject: [PATCH] Fix test expectations to account for changed error messages --- tests/acceptance/PsalmModule.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/acceptance/PsalmModule.feature b/tests/acceptance/PsalmModule.feature index 2d5873e..bfd43d6 100644 --- a/tests/acceptance/PsalmModule.feature +++ b/tests/acceptance/PsalmModule.feature @@ -29,8 +29,8 @@ Feature: Psalm module """ When I run Psalm Then I see these errors - | Type | Message | - | InvalidScalarArgument | /Argument 1 of takesFloat expects float, (string\|string\(asdfg\)\|"asdfg") provided/ | + | Type | Message | + | InvalidScalarArgument | /Argument 1 of takesFloat expects float, (string\|string\(asdfg\)\|"asdfg"\|'asdfg') provided/ | And I see no other errors And I see exit code 1 @@ -42,8 +42,8 @@ Feature: Psalm module """ When I run Psalm Then I see these errors - | Type | Message | - | InvalidScalarArgument | /Argument 1 of takesFloat expects float, (string\|string\(asdfg\)\|"asdfg") provided/ | + | Type | Message | + | InvalidScalarArgument | /Argument 1 of takesFloat expects float, (but )?(string\|string\(asdfg\)\|"asdfg"\|'asdfg') provided/ | And I see no other errors And I see exit code 2