diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/reload_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/reload_test.go b/test/reload_test.go index e026a97ce..f17a85b05 100644 --- a/test/reload_test.go +++ b/test/reload_test.go @@ -110,7 +110,7 @@ func TestReloadMetricsHealth(t *testing.T) { } ok, _ := ioutil.ReadAll(resp.Body) resp.Body.Close() - if string(ok) != "OK" { + if string(ok) != http.StatusText(http.StatusOK) { t.Errorf("Failed to receive OK, got %s", ok) } |