Fix test
This commit is contained in:
parent
7676174223
commit
918945760b
|
@ -7,7 +7,7 @@ package tests
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm/v2/log"
|
"xorm.io/xorm/v2/log"
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
||||||
_ "gitee.com/travelliu/dm"
|
_ "gitee.com/travelliu/dm"
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm/v2"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
|
@ -11,9 +11,10 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm"
|
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestStoreEngine(t *testing.T) {
|
func TestStoreEngine(t *testing.T) {
|
||||||
|
|
|
@ -7,9 +7,10 @@ package tests
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
|
||||||
"xorm.io/builder"
|
"xorm.io/builder"
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSetExpr(t *testing.T) {
|
func TestSetExpr(t *testing.T) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"xorm.io/builder"
|
"xorm.io/builder"
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm/v2/internal/utils"
|
"xorm.io/xorm/v2/internal/utils"
|
||||||
"xorm.io/xorm/v2/names"
|
"xorm.io/xorm/v2/names"
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm/v2/contexts"
|
"xorm.io/xorm/v2/contexts"
|
||||||
"xorm.io/xorm/v2/convert"
|
"xorm.io/xorm/v2/convert"
|
||||||
"xorm.io/xorm/v2/dialects"
|
"xorm.io/xorm/v2/dialects"
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
|
@ -10,12 +10,13 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm"
|
|
||||||
"xorm.io/xorm/v2/internal/statements"
|
"xorm.io/xorm/v2/internal/statements"
|
||||||
"xorm.io/xorm/v2/internal/utils"
|
"xorm.io/xorm/v2/internal/utils"
|
||||||
"xorm.io/xorm/v2/names"
|
"xorm.io/xorm/v2/names"
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestUpdateMap(t *testing.T) {
|
func TestUpdateMap(t *testing.T) {
|
||||||
|
|
|
@ -11,10 +11,11 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
|
||||||
"xorm.io/xorm/v2/internal/utils"
|
"xorm.io/xorm/v2/internal/utils"
|
||||||
"xorm.io/xorm/v2/names"
|
"xorm.io/xorm/v2/names"
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
type tempUser struct {
|
type tempUser struct {
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm/v2/caches"
|
"xorm.io/xorm/v2/caches"
|
||||||
"xorm.io/xorm/v2/dialects"
|
"xorm.io/xorm/v2/dialects"
|
||||||
"xorm.io/xorm/v2/log"
|
"xorm.io/xorm/v2/log"
|
||||||
|
|
|
@ -12,7 +12,6 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"xorm.io/xorm/v2/convert"
|
"xorm.io/xorm/v2/convert"
|
||||||
|
|
||||||
"xorm.io/xorm/v2/internal/utils"
|
"xorm.io/xorm/v2/internal/utils"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"xorm.io/xorm"
|
"xorm.io/xorm/v2"
|
||||||
"xorm.io/xorm/v2/convert"
|
"xorm.io/xorm/v2/convert"
|
||||||
"xorm.io/xorm/v2/internal/json"
|
"xorm.io/xorm/v2/internal/json"
|
||||||
"xorm.io/xorm/v2/schemas"
|
"xorm.io/xorm/v2/schemas"
|
||||||
|
|
Loading…
Reference in New Issue