Fix query analysis bugs found in ruby tags query
This commit is contained in:
parent
1ea29053e1
commit
c3f9b2b377
2 changed files with 25 additions and 13 deletions
|
|
@ -2310,9 +2310,17 @@ fn test_query_is_definite() {
|
|||
],
|
||||
},
|
||||
Row {
|
||||
language: get_language("javascript"),
|
||||
pattern: r#""#,
|
||||
results_by_symbol: &[],
|
||||
language: get_language("ruby"),
|
||||
pattern: r#"
|
||||
(singleton_class
|
||||
value: (constant)
|
||||
"end")
|
||||
"#,
|
||||
results_by_symbol: &[
|
||||
("singleton_class", false),
|
||||
("constant", false),
|
||||
("end", true),
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue