Fix test
This commit is contained in:
parent
7676174223
commit
918945760b
|
@ -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"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"xorm.io/xorm"
|
||||
"xorm.io/xorm/v2"
|
||||
"xorm.io/xorm/v2/schemas"
|
||||
|
||||
_ "gitee.com/travelliu/dm"
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
"xorm.io/xorm"
|
||||
"xorm.io/xorm/v2"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"xorm.io/xorm"
|
||||
"xorm.io/xorm/v2"
|
||||
"xorm.io/xorm/v2/schemas"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -12,7 +12,6 @@ import (
|
|||
"time"
|
||||
|
||||
"xorm.io/xorm/v2/convert"
|
||||
|
||||
"xorm.io/xorm/v2/internal/utils"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue