Skip to content

Commit

Permalink
Merge pull request #44 from psalm/fix-test-expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan authored Dec 2, 2022
2 parents f9be1a2 + ad6009f commit 6febfdf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/acceptance/PsalmModule.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 6febfdf

Please sign in to comment.