Skip to content

Commit 98c5e0d

Browse files
committed
add entire queries in tests
1 parent c4fc3e5 commit 98c5e0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/sqlparser_sqlite.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@ fn test_match_operator() {
574574
))
575575
}
576576
);
577+
sqlite().verified_only_select("SELECT * FROM email WHERE email MATCH 'fts5'");
577578
}
578579

579580
#[test]
@@ -588,6 +589,7 @@ fn test_regexp_operator() {
588589
))
589590
}
590591
);
592+
sqlite().verified_only_select(r#"SELECT count(*) FROM messages WHERE msg_text REGEXP '\d+'"#);
591593
}
592594

593595
fn sqlite() -> TestedDialects {

0 commit comments

Comments
 (0)