viant / toolbox

Toolbox - go utility library
Apache License 2.0
197 stars 29 forks source link

TestNewResource fails at go test #34

Closed rogers0 closed 4 years ago

rogers0 commented 4 years ago

error log for version 0.32.2:

=== RUN   TestNewResource
/build/golang-github-viant-toolbox-0.32.2/obj-x86_64-linux-gnu/src/github.com/viant/test
    TestNewResource: resource_test.go:28:
                Error Trace:    resource_test.go:28
                Error:          Expected nil, but got: &url.Error{Op:"Get", URL:"https://raw.githubusercontent.com/viant/toolbox/master/LICENSE.txt", Err:(*net.OpError)(0xc00006ddb0)}
                Test:           TestNewResource
    TestNewResource: resource_test.go:29:
                Error Trace:    resource_test.go:29
                Error:          Expected value not to be nil.
                Test:           TestNewResource
--- FAIL: TestNewResource (0.00s)
adranwit commented 4 years ago

updated test

rogers0 commented 4 years ago

Confirmed it's fixed. Thank you!