mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Remove most instances of #[cfg(feature(bigdecimal))]
in tests (#910)
This commit is contained in:
parent
a50671d95d
commit
4efe55dd8a
8 changed files with 28 additions and 90 deletions
|
@ -97,13 +97,7 @@ fn test_create_macro_default_args() {
|
|||
MacroArg::new("a"),
|
||||
MacroArg {
|
||||
name: Ident::new("b"),
|
||||
default_expr: Some(Expr::Value(Value::Number(
|
||||
#[cfg(not(feature = "bigdecimal"))]
|
||||
5.to_string(),
|
||||
#[cfg(feature = "bigdecimal")]
|
||||
bigdecimal::BigDecimal::from(5),
|
||||
false,
|
||||
))),
|
||||
default_expr: Some(Expr::Value(number("5"))),
|
||||
},
|
||||
]),
|
||||
definition: MacroDefinition::Expr(Expr::BinaryOp {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue