From 08ac19086babd0ea7c4744e0e4b80f1c145b7e6d Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Fri, 1 Sep 2023 20:28:31 +0300 Subject: [PATCH] chore: simplify test case after query state improvements --- cli/src/tests/query_test.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cli/src/tests/query_test.rs b/cli/src/tests/query_test.rs index 51c783e7..5fb33e01 100644 --- a/cli/src/tests/query_test.rs +++ b/cli/src/tests/query_test.rs @@ -3605,12 +3605,7 @@ fn test_query_capture_names() { assert_eq!( query.capture_names(), - &[ - "left-operand".to_string(), - "right-operand".to_string(), - "body".to_string(), - "loop-condition".to_string(), - ] + ["left-operand", "right-operand", "body", "loop-condition"] ); }); }