diff --git a/tests/engine_group_test.go b/tests/engine_group_test.go index b95ce8eb..fab25c67 100644 --- a/tests/engine_group_test.go +++ b/tests/engine_group_test.go @@ -7,7 +7,7 @@ package tests import ( "testing" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/log" "xorm.io/xorm/v2/schemas" diff --git a/tests/engine_test.go b/tests/engine_test.go index dbe625bd..04fb3ecf 100644 --- a/tests/engine_test.go +++ b/tests/engine_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/schemas" _ "gitee.com/travelliu/dm" diff --git a/tests/processors_test.go b/tests/processors_test.go index af2866e8..4f780270 100644 --- a/tests/processors_test.go +++ b/tests/processors_test.go @@ -9,7 +9,7 @@ import ( "fmt" "testing" - "xorm.io/xorm" + "xorm.io/xorm/v2" "github.com/stretchr/testify/assert" ) diff --git a/tests/schema_test.go b/tests/schema_test.go index 679cf8d5..cd9a6c91 100644 --- a/tests/schema_test.go +++ b/tests/schema_test.go @@ -11,9 +11,10 @@ import ( "testing" "time" - "github.com/stretchr/testify/assert" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/schemas" + + "github.com/stretchr/testify/assert" ) func TestStoreEngine(t *testing.T) { diff --git a/tests/session_cols_test.go b/tests/session_cols_test.go index d2b441d0..1846168f 100644 --- a/tests/session_cols_test.go +++ b/tests/session_cols_test.go @@ -7,9 +7,10 @@ package tests import ( "testing" - "github.com/stretchr/testify/assert" "xorm.io/builder" "xorm.io/xorm/v2/schemas" + + "github.com/stretchr/testify/assert" ) func TestSetExpr(t *testing.T) { diff --git a/tests/session_find_test.go b/tests/session_find_test.go index c2ae1e92..7e71bea7 100644 --- a/tests/session_find_test.go +++ b/tests/session_find_test.go @@ -9,7 +9,7 @@ import ( "time" "xorm.io/builder" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/internal/utils" "xorm.io/xorm/v2/names" "xorm.io/xorm/v2/schemas" diff --git a/tests/session_get_test.go b/tests/session_get_test.go index 87e44933..d27bde28 100644 --- a/tests/session_get_test.go +++ b/tests/session_get_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/contexts" "xorm.io/xorm/v2/convert" "xorm.io/xorm/v2/dialects" diff --git a/tests/session_insert_test.go b/tests/session_insert_test.go index 942842c0..213a2328 100644 --- a/tests/session_insert_test.go +++ b/tests/session_insert_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/schemas" "github.com/stretchr/testify/assert" diff --git a/tests/session_update_test.go b/tests/session_update_test.go index 70468c12..c11c38c9 100644 --- a/tests/session_update_test.go +++ b/tests/session_update_test.go @@ -10,12 +10,13 @@ import ( "testing" "time" - "github.com/stretchr/testify/assert" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/internal/statements" "xorm.io/xorm/v2/internal/utils" "xorm.io/xorm/v2/names" "xorm.io/xorm/v2/schemas" + + "github.com/stretchr/testify/assert" ) func TestUpdateMap(t *testing.T) { diff --git a/tests/tags_test.go b/tests/tags_test.go index fee3c597..3a2f5044 100644 --- a/tests/tags_test.go +++ b/tests/tags_test.go @@ -11,10 +11,11 @@ import ( "testing" "time" - "github.com/stretchr/testify/assert" "xorm.io/xorm/v2/internal/utils" "xorm.io/xorm/v2/names" "xorm.io/xorm/v2/schemas" + + "github.com/stretchr/testify/assert" ) type tempUser struct { diff --git a/tests/tests.go b/tests/tests.go index f513ac16..16fa0ca4 100644 --- a/tests/tests.go +++ b/tests/tests.go @@ -13,7 +13,7 @@ import ( "strings" "testing" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/caches" "xorm.io/xorm/v2/dialects" "xorm.io/xorm/v2/log" diff --git a/tests/time_test.go b/tests/time_test.go index ebb50fc6..7e288861 100644 --- a/tests/time_test.go +++ b/tests/time_test.go @@ -12,7 +12,6 @@ import ( "time" "xorm.io/xorm/v2/convert" - "xorm.io/xorm/v2/internal/utils" "github.com/stretchr/testify/assert" diff --git a/tests/types_test.go b/tests/types_test.go index d3e155d4..6b0a9027 100644 --- a/tests/types_test.go +++ b/tests/types_test.go @@ -12,7 +12,7 @@ import ( "strconv" "testing" - "xorm.io/xorm" + "xorm.io/xorm/v2" "xorm.io/xorm/v2/convert" "xorm.io/xorm/v2/internal/json" "xorm.io/xorm/v2/schemas"