mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-01 03:37:21 +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
|
@ -198,7 +198,7 @@ pub fn expr_from_projection(item: &SelectItem) -> &Expr {
|
|||
}
|
||||
|
||||
/// Creates a `Value::Number`, panic'ing if n is not a number
|
||||
pub fn number(n: &'static str) -> Value {
|
||||
pub fn number(n: &str) -> Value {
|
||||
Value::Number(n.parse().unwrap(), false)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue