Skip to content

Commit

Permalink
Pest: Only match first argument
Browse files Browse the repository at this point in the history
  • Loading branch information
RemcoSmitsDev committed May 9, 2024
1 parent 53b83bc commit ea831c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions extensions/php/languages/php/outline.scm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
function: (_) @context
(#any-of? @context "it" "test" "describe")
arguments: (arguments
.
(argument
(encapsed_string (string_value) @name)
)
Expand Down
1 change: 1 addition & 0 deletions extensions/php/languages/php/runnables.scm
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
function: (_) @_name
(#any-of? @_name "it" "test" "describe")
arguments: (arguments
.
(argument
(encapsed_string (string_value) @run)
)
Expand Down

0 comments on commit ea831c2

Please sign in to comment.