From 6b2e2e82d8dc6e4e987d1fbd437e4c48a0b5e864 Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Tue, 22 Jan 2013 10:00:38 -0800 Subject: [PATCH] Revert for travis version of Go --- .travis.yml | 1 + test/monitor_test.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 491583ee..274c3d2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: go script: + - go -v - go build - go vet ./... - go test -i ./... diff --git a/test/monitor_test.go b/test/monitor_test.go index c45ed82f..c92d2466 100644 --- a/test/monitor_test.go +++ b/test/monitor_test.go @@ -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