From f1a534874dee78bbaacea82622322b2a71894dbb Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Tue, 31 May 2016 01:58:32 +0200 Subject: [PATCH] Fixed a test --- command/agent/alloc_endpoint_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/alloc_endpoint_test.go b/command/agent/alloc_endpoint_test.go index a47c40009..e2a4efd83 100644 --- a/command/agent/alloc_endpoint_test.go +++ b/command/agent/alloc_endpoint_test.go @@ -159,7 +159,7 @@ func TestHTTP_AllocStats(t *testing.T) { // Make the request _, err = s.Server.ClientAllocRequest(respW, req) - if !strings.Contains(err.Error(), urlNotFoundErr) { + if !strings.Contains(err.Error(), allocNotFoundErr) { t.Fatalf("err: %v", err) } })