Fix population of subgraph nodes when analyzing queries

This commit is contained in:
Max Brunsfeld 2020-06-25 15:05:44 -07:00
parent 9fb39b8954
commit 891de051e2
2 changed files with 16 additions and 8 deletions

View file

@ -2083,6 +2083,14 @@ fn test_query_is_definite() {
}
let rows = &[
Row {
language: get_language("python"),
pattern: r#"(expression_statement (string))"#,
results_by_step_index: &[
(0, false),
(1, false), // string
],
},
Row {
language: get_language("javascript"),
pattern: r#"(object "{" "}")"#,