From 0ed3a4a3dc946dc3c3ea00d277c2afa55c3069a6 Mon Sep 17 00:00:00 2001 From: Jax Liu Date: Fri, 27 Dec 2024 13:54:38 +0800 Subject: [PATCH] fix clippy --- tests/sqlparser_common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sqlparser_common.rs b/tests/sqlparser_common.rs index d12a23067..57622a70a 100644 --- a/tests/sqlparser_common.rs +++ b/tests/sqlparser_common.rs @@ -3064,7 +3064,7 @@ fn gen_sign_number_case(value: &str, op: UnaryOperator) -> (Vec, Vec (Vec, Vec) { let (mut input, mut expected) = gen_number_case(number); - for op in vec![UnaryOperator::Plus, UnaryOperator::Minus] { + for op in [UnaryOperator::Plus, UnaryOperator::Minus] { let (input_sign, expected_sign) = gen_sign_number_case(number, op); input.extend(input_sign); expected.extend(expected_sign);