Parse floats without leading number (#294)

* Parse floats without leading number

* Move period token test

* Comments

* Enable test
This commit is contained in:
Daniël Heres 2021-02-08 08:11:01 +01:00 committed by GitHub
parent 6f0b2dcd92
commit f40955ee82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 8 deletions

View file

@ -26,10 +26,7 @@ macro_rules! tpch_tests {
fn $name() {
let dialect = GenericDialect {};
let res = Parser::parse_sql(&dialect, QUERIES[$value -1]);
// Ignore 6.sql
if $value != 6 {
assert!(res.is_ok());
}
}
)*
}