We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a550908 commit 41336d4Copy full SHA for 41336d4
src/test/java/io/github/treesitter/jtreesitter/QueryCursorTest.java
@@ -177,13 +177,16 @@ void findMatches() {
177
}
178
179
// Verify that `eq?` predicate works with quantified captures
180
- try (var tree = parser.parse("/* 1 */ /* 1 */ /* 1 */").orElseThrow()) {
+ try (var tree = parser.parse("/* 1 */ /* 1 */ {} /* 1 */ /* 1 */").orElseThrow()) {
181
var source =
182
"""
183
(program
184
.
185
- (block_comment) @b
186
(block_comment)+ @a
+ .
187
+ (block)
188
189
+ (block_comment)+ @b
190
(#eq? @a @b))
191
""";
192
assertCursor(source, cursor -> {
0 commit comments