Skip to content

Commit dbaae64

Browse files
author
Roman Borschel
committed
Fix test to work with --all-features.
1 parent 1ddc47b commit dbaae64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sqlparser_mysql.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1976,10 +1976,10 @@ fn parse_qualified_identifiers_with_numeric_prefix() {
19761976
Some(Statement::Query(q)) => match *q.body {
19771977
SetExpr::Select(s) => match s.projection.last() {
19781978
Some(SelectItem::UnnamedExpr(Expr::Value(ValueWithSpan {
1979-
value: Value::Number(n, _),
1979+
value,
19801980
..
19811981
}))) => {
1982-
assert_eq!("15e29", n);
1982+
assert_eq!(&number("15e29"), value);
19831983
}
19841984
proj => panic!("Unexpected projection: {:?}", proj),
19851985
},

0 commit comments

Comments
 (0)