This commit is contained in:
Lunny Xiao 2023-10-27 22:05:37 +08:00
parent 7676174223
commit 918945760b
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
13 changed files with 18 additions and 15 deletions

View File

@ -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"

View File

@ -11,7 +11,7 @@ import (
"testing"
"time"
"xorm.io/xorm"
"xorm.io/xorm/v2"
"xorm.io/xorm/v2/schemas"
_ "gitee.com/travelliu/dm"

View File

@ -9,7 +9,7 @@ import (
"fmt"
"testing"
"xorm.io/xorm"
"xorm.io/xorm/v2"
"github.com/stretchr/testify/assert"
)

View File

@ -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) {

View File

@ -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) {

View File

@ -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"

View File

@ -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"

View File

@ -10,7 +10,7 @@ import (
"testing"
"time"
"xorm.io/xorm"
"xorm.io/xorm/v2"
"xorm.io/xorm/v2/schemas"
"github.com/stretchr/testify/assert"

View File

@ -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) {

View File

@ -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 {

View File

@ -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"

View File

@ -12,7 +12,6 @@ import (
"time"
"xorm.io/xorm/v2/convert"
"xorm.io/xorm/v2/internal/utils"
"github.com/stretchr/testify/assert"

View File

@ -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"