(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestTokenizerWithDialect(t *testing.T) { |
| 38 | tkz, err := tokenizer.NewWithDialect(keywords.DialectMySQL) |
| 39 | if err != nil { |
| 40 | t.Fatal(err) |
| 41 | } |
| 42 | if tkz.Dialect() != keywords.DialectMySQL { |
| 43 | t.Errorf("expected mysql, got %s", tkz.Dialect()) |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | func TestTokenizerSetDialect(t *testing.T) { |
| 48 | tkz := tokenizer.GetTokenizer() |
nothing calls this directly
no test coverage detected