We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
string_content
1 parent ba25361 commit 69ac597Copy full SHA for 69ac597
1 file changed
languages/ruby/runnables.scm
@@ -38,10 +38,14 @@
38
; Examples
39
((call
40
method: (identifier) @run
41
- (#any-of? @run "describe" "context" "it" "its" "specify" "example" "feature" "scenario" "fdescribe" "fcontext" "fit" "fexample" "focus" "it_behaves_like" "it_should_behave_like" "include_context" "include_examples")
+ (#any-of? @run
42
+ "describe" "context" "it" "its" "specify" "example" "feature" "scenario" "fdescribe" "fcontext"
43
+ "fit" "fexample" "focus" "it_behaves_like" "it_should_behave_like" "include_context"
44
+ "include_examples")
45
arguments: (argument_list
46
.
- (_) @name @RUBY_TEST_NAME)) @_ruby-test
47
+ (_
48
+ (string_content) @name @RUBY_TEST_NAME))) @_ruby-test
49
(#set! tag ruby-test))
50
51
; Examples (one-liner syntax)
0 commit comments