You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in this PR, the correct syntax for Gherkin matchers is
Given(/This and that/)
And not
Given /This and that/
because the latter is ambiguous and causes ruby to issue the warning ambiguous first argument; put parentheses or even spaces. (note: funny that the GitHub syntax highlight makes the same mistake)
It would be great if the syntax file in this plugin could highlight the correct case (and possibly, stop highlighting the wrong one!)
Thanks for all your great plugins ❤️
The text was updated successfully, but these errors were encountered:
Hi,
As discussed in this PR, the correct syntax for Gherkin matchers is
And not
Given /This and that/
because the latter is ambiguous and causes ruby to issue the warning
ambiguous first argument; put parentheses or even spaces
. (note: funny that the GitHub syntax highlight makes the same mistake)It would be great if the syntax file in this plugin could highlight the correct case (and possibly, stop highlighting the wrong one!)
Thanks for all your great plugins ❤️
The text was updated successfully, but these errors were encountered: