Skip to content

Commit 9371652

Browse files
committed
Fix "unused stmt" warning in tests, with default features
1 parent 3e880b5 commit 9371652

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/sqlparser_postgres.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,12 @@ fn parse_execute() {
474474
);
475475

476476
let stmt = pg_and_generic().verified_stmt("EXECUTE a(1, 't')");
477-
478-
#[cfg(feature = "bigdecimal")]
479477
assert_eq!(
480478
stmt,
481479
Statement::Execute {
482480
name: "a".into(),
483481
parameters: vec![
484-
Expr::Value(Value::Number(bigdecimal::BigDecimal::from(1))),
482+
Expr::Value(number("1")),
485483
Expr::Value(Value::SingleQuotedString("t".to_string()))
486484
],
487485
}

0 commit comments

Comments
 (0)