Skip to content

Commit

Permalink
fix: fix verb tests (#36)
Browse files Browse the repository at this point in the history
* Change forge hash

* fix: fix verb tests by using non-capturing group

* fix: move ? to target whole group
  • Loading branch information
jhowlett-scottlogic authored Nov 10, 2022
1 parent 3c36770 commit 8979c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/FeaturesTests/HTTPVerbs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public HTTPVerbs(ITestOutputHelper testOutputHelper) :
{
}

[When(@"calling the( spied?) method (\w+) without params")]
[When(@"calling the(?: spied)? method (\w+) without params")]
public async Task
CallWithoutParameters(string methodName)
{
Expand Down

0 comments on commit 8979c3d

Please sign in to comment.