Revert for travis version of Go

This commit is contained in:
Derek Collison
2013-01-22 10:00:38 -08:00
parent fd1f6faa59
commit 6b2e2e82d8
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
language: go
script:
- go -v
- go build
- go vet ./...
- go test -i ./...

View File

@@ -95,7 +95,7 @@ func TestConnz(t *testing.T) {
t.Fatalf("Expected 0 connections, got %d\n", c.NumConns)
}
if c.Conns == nil || len(c.Conns) != 0 {
t.Fatalf("Expected 0 connections in array, got %+p\n", c.Conns)
t.Fatalf("Expected 0 connections in array, got %p\n", c.Conns)
}
// Create a connection to test ConnInfo
@@ -127,7 +127,7 @@ func TestConnz(t *testing.T) {
t.Fatalf("Expected 1 connections, got %d\n", c.NumConns)
}
if c.Conns == nil || len(c.Conns) != 1 {
t.Fatalf("Expected 1 connections in array, got %+p\n", c.Conns)
t.Fatalf("Expected 1 connections in array, got %p\n", c.Conns)
}
// Test inside details of each connection