mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Fixed a test
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user