fix the orm test

This commit is contained in:
astaxie 2016-03-10 22:21:21 +08:00
parent 31f7524dae
commit 1f0a65f0a2
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ after_script:
- rm -rf ./res/var/*
script:
- go vet -x ./...
- $HOME/gopath/bin/golint ./... | grep -v "should be"
- $HOME/gopath/bin/golint ./...
- go test -v ./...
notifications:
webhooks: https://hooks.pubu.im/services/z7m9bvybl3rgtg9

View File

@ -1943,7 +1943,7 @@ func TestInLine(t *testing.T) {
throwFail(t, AssertIs(id, 1))
il := NewInLine()
il.Id = 1
il.ID = 1
err = dORM.Read(il)
throwFail(t, err)