Factor test helpers into a common module

Also run "generic" tests with all dialects (`parse_select_version`
doesn't work with ANSI dialect, so I moved it to the postgres file
temporarily)
This commit is contained in:
Nickolay Ponomarev 2019-04-29 01:43:41 +03:00
parent de177f107c
commit 478dbe940d
8 changed files with 197 additions and 114 deletions

View file

@ -40,3 +40,8 @@ pub mod dialect;
pub mod sqlast;
pub mod sqlparser;
pub mod sqltokenizer;
#[doc(hidden)]
// This is required to make utilities accessible by both the crate-internal
// unit-tests and by the integration tests <https://stackoverflow.com/a/44541071/1026>
pub mod test_utils;