Use self.expected() more

This commit is contained in:
Nickolay Ponomarev 2019-06-13 11:15:10 +03:00
parent f18fbe5cda
commit 45c9aa1cc2
2 changed files with 4 additions and 10 deletions

View file

@ -949,7 +949,7 @@ fn parse_create_table() {
assert!(res
.unwrap_err()
.to_string()
.contains("Unexpected token in column definition"));
.contains("Expected column option, found: GARBAGE"));
}
#[test]