diff --git a/.travis.yml b/.travis.yml index 96a5cdf..283a803 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,9 @@ language: go go: - - 1.3 - 1.4 - release - tip script: - - go get github.com/kisielk/errcheck - go get -t ./... - - go test -tags "skipexternal" -v -race ./... - - errcheck github.com/pressly/chainstore - diff --git a/chainstore_test.go b/chainstore_test.go index a1c3434..e1e88e6 100644 --- a/chainstore_test.go +++ b/chainstore_test.go @@ -144,7 +144,7 @@ func TestAsyncChain(t *testing.T) { assert.Nil(err) // no error because sync store took it fine time.Sleep(time.Second * 1) // wait for async operation.. - assert.NotEmpty(errored.Load()) + assert.NotNil(errored.Load()) } type testStore struct{}