Skip to content

Commit 0b5057b

Browse files
committed
test cleanup
1 parent 27e0978 commit 0b5057b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/tokenizer.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2495,8 +2495,7 @@ fn take_char_from_hex_digits(
24952495
mod tests {
24962496
use super::*;
24972497
use crate::dialect::{
2498-
AnsiDialect, BigQueryDialect, ClickHouseDialect, HiveDialect, MsSqlDialect, MySqlDialect,
2499-
SQLiteDialect,
2498+
BigQueryDialect, ClickHouseDialect, HiveDialect, MsSqlDialect, MySqlDialect, SQLiteDialect,
25002499
};
25012500
use crate::test_utils::{all_dialects_except, all_dialects_where};
25022501
use core::fmt::Debug;
@@ -4142,8 +4141,7 @@ mod tests {
41424141

41434142
#[test]
41444143
fn tokenize_mustache_dot_ident() {
4145-
// Note: Ansi and Hive parse _column into separate `_` and `column` tokens.
4146-
all_dialects_except(|d| d.is::<HiveDialect>() || d.is::<AnsiDialect>()).tokenizes_to(
4144+
all_dialects_where(|d| d.is_identifier_start('_')).tokenizes_to(
41474145
"SELECT {{schema}}._column",
41484146
vec![
41494147
Token::make_keyword("SELECT"),

0 commit comments

Comments
 (0)