mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge branch 'master' into i60
This commit is contained in:
commit
73b651796e
@ -8,3 +8,5 @@ before_install:
|
|||||||
- test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true
|
- test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true
|
||||||
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf
|
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf
|
||||||
- cd $HOME/gopath/src/github.com/senorprogrammer/wtf
|
- cd $HOME/gopath/src/github.com/senorprogrammer/wtf
|
||||||
|
|
||||||
|
script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests
|
||||||
|
@ -74,7 +74,7 @@ func TestToInts(t *testing.T) {
|
|||||||
actual := ToInts(source)
|
actual := ToInts(source)
|
||||||
|
|
||||||
if diff := deep.Equal(expected, actual); diff != nil {
|
if diff := deep.Equal(expected, actual); diff != nil {
|
||||||
t.Fatalf("Expected %s but got %s", expected, actual)
|
t.Fatalf("Expected %v but got %v", expected, actual)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user