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

Commit

Permalink
docs: fix invalid capture name in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaky committed Jun 22, 2023
1 parent 5c61cff commit 1270f54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public void testQueryQuantifierZeroOrOne() {
cursor.exec(query, tree.getRootNode());

// pattern 0 -> method_declaration
// capture 0 -> @method_name
// capture 0 -> @class_name
final var quantifier = query.getCaptureQuantifierForId(0, 0);
assertThat(quantifier).isNotNull();
assertThat(quantifier).isEqualTo(TSQuantifier.ZeroOrOne);
Expand Down

0 comments on commit 1270f54

Please sign in to comment.