Fix tests_all.sh

This commit is contained in:
Jinzhu 2020-09-03 15:02:04 +08:00
parent 3cc7a30712
commit cf31508095
2 changed files with 2 additions and 2 deletions

View File

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

View File

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