Fixed a test

This commit is contained in:
Diptanu Choudhury
2016-05-31 01:58:32 +02:00
parent e00e203bd9
commit f1a534874d

View File

@@ -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)
}
})