diff --git a/orm/orm_test.go b/orm/orm_test.go index b18a7082..93668235 100644 --- a/orm/orm_test.go +++ b/orm/orm_test.go @@ -822,7 +822,7 @@ func TestOperators(t *testing.T) { throwFail(t, err) throwFail(t, AssertIs(num, 1)) - if dORM.Driver().Name() == "mysql" { + if IsMysql { // Now only mysql support `strictexact` num, err = qs.Filter("user_name__strictexact", "Slene").Count() throwFail(t, err)