Skip to content

Commit 763889e

Browse files
cleaning TS types tests
1 parent 78e6ddb commit 763889e

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

tests/sqlparser_postgres.rs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6203,7 +6203,7 @@ fn parse_alter_table_replica_identity() {
62036203
}
62046204

62056205
#[test]
6206-
fn parse_tsvector_datatype() {
6206+
fn parse_ts_datatypes() {
62076207
match pg_and_generic().verified_stmt("CREATE TABLE foo (x TSVECTOR)") {
62086208
Statement::CreateTable(CreateTable { columns, .. }) => {
62096209
assert_eq!(
@@ -6217,10 +6217,7 @@ fn parse_tsvector_datatype() {
62176217
}
62186218
_ => unreachable!(),
62196219
}
6220-
}
62216220

6222-
#[test]
6223-
fn parse_tsquery_datatype() {
62246221
match pg_and_generic().verified_stmt("CREATE TABLE foo (x TSQUERY)") {
62256222
Statement::CreateTable(CreateTable { columns, .. }) => {
62266223
assert_eq!(
@@ -6235,15 +6232,3 @@ fn parse_tsquery_datatype() {
62356232
_ => unreachable!(),
62366233
}
62376234
}
6238-
6239-
#[test]
6240-
fn parse_to_tsvector_function() {
6241-
let sql = "SELECT to_tsvector('english', 'foo bar baz')";
6242-
pg_and_generic().verified_only_select(sql);
6243-
}
6244-
6245-
#[test]
6246-
fn parse_to_tsquery_function() {
6247-
let sql = "SELECT to_tsquery('Fat:ab & Cats')";
6248-
pg_and_generic().verified_only_select(sql);
6249-
}

0 commit comments

Comments
 (0)