Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 1270f54

Browse files
committed
docs: fix invalid capture name in comment
1 parent 5c61cff commit 1270f54

File tree

1 file changed

+1
-1
lines changed
  • android-tree-sitter/src/test/java/com/itsaky/androidide/treesitter

1 file changed

+1
-1
lines changed

android-tree-sitter/src/test/java/com/itsaky/androidide/treesitter/QueryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public void testQueryQuantifierZeroOrOne() {
284284
cursor.exec(query, tree.getRootNode());
285285

286286
// pattern 0 -> method_declaration
287-
// capture 0 -> @method_name
287+
// capture 0 -> @class_name
288288
final var quantifier = query.getCaptureQuantifierForId(0, 0);
289289
assertThat(quantifier).isNotNull();
290290
assertThat(quantifier).isEqualTo(TSQuantifier.ZeroOrOne);

0 commit comments

Comments
 (0)