Move wildcard test to generic parser

This commit is contained in:
Justin Haug 2019-04-22 17:52:15 -04:00
parent 80aceba630
commit f9fb4bedfb
2 changed files with 5 additions and 13 deletions

View file

@ -91,6 +91,11 @@ fn parse_select_wildcard() {
);
}
#[test]
fn parse_count_wildcard() {
verified_only_select("SELECT COUNT(Employee.*) FROM Order JOIN Employee ON Order.employee = Employee.id");
}
#[test]
fn parse_column_aliases() {
let sql = "SELECT a.col + 1 AS newname FROM foo AS a";