mirror of https://github.com/go-gorm/gorm.git
Fix tests_all.sh
This commit is contained in:
parent
3cc7a30712
commit
cf31508095
|
@ -9,7 +9,7 @@ require (
|
||||||
gorm.io/driver/mysql v1.0.1
|
gorm.io/driver/mysql v1.0.1
|
||||||
gorm.io/driver/postgres v1.0.0
|
gorm.io/driver/postgres v1.0.0
|
||||||
gorm.io/driver/sqlite v1.1.1
|
gorm.io/driver/sqlite v1.1.1
|
||||||
gorm.io/driver/sqlserver v1.0.2
|
gorm.io/driver/sqlserver v1.0.3
|
||||||
gorm.io/gorm v1.9.19
|
gorm.io/gorm v1.9.19
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ if [ -d tests ]
|
||||||
then
|
then
|
||||||
cd tests
|
cd tests
|
||||||
cp go.mod go.mod.bak
|
cp go.mod go.mod.bak
|
||||||
sed '/$[[:space:]]*gorm.io\/driver/d' go.mod.bak > go.mod
|
sed '/^[[:blank:]]*gorm.io\/driver/d' go.mod.bak > go.mod
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue