From d88b52c5f3296640e14216dd695d55864c7b9947 Mon Sep 17 00:00:00 2001 From: Yicheng Qin Date: Tue, 15 Apr 2014 09:25:14 -0700 Subject: [PATCH] fix(tests/v1_migration): correct HTTP response The bug is introduced in 03839ca8 due to the mistake. --- tests/functional/v1_migration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/v1_migration_test.go b/tests/functional/v1_migration_test.go index 0e457a780..75aaebb3f 100644 --- a/tests/functional/v1_migration_test.go +++ b/tests/functional/v1_migration_test.go @@ -95,7 +95,7 @@ func TestV1ClusterMigration(t *testing.T) { body := tests.ReadBody(resp) assert.Nil(t, err, "") assert.Equal(t, resp.StatusCode, http.StatusNotFound) - assert.Equal(t, string(body), `{"errorCode":100,"message":"Key not found","cause":"/message","index":10}`+"\n") + assert.Equal(t, string(body), `{"errorCode":100,"message":"Key not found","cause":"/message","index":11}`+"\n") // Ensure TTL'd message is removed. resp, err = tests.Get("http://localhost:4001/v2/keys/foo")