Clean up query code

This commit is contained in:
Max Brunsfeld 2019-09-16 11:33:22 -07:00
parent d4d554b2ae
commit 7793bf2a5a
2 changed files with 67 additions and 38 deletions

View file

@ -356,8 +356,8 @@ fn test_query_matches_with_anonymous_tokens() {
let query = Query::new(
language,
r#"
";" @ punctuation
"&&" @ operator
";" @punctuation
"&&" @operator
"#,
)
.unwrap();