diff --git a/.travis.yml b/.travis.yml index d8922fd2..3c821dcd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/orm/orm_test.go b/orm/orm_test.go index f638fba4..ec0f0d3a 100644 --- a/orm/orm_test.go +++ b/orm/orm_test.go @@ -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)