From 1f3bb4608c8ad83bfd003fe471ae2f1e81eb5016 Mon Sep 17 00:00:00 2001 From: Sergey Zelenov Date: Fri, 18 Aug 2017 13:07:42 +0200 Subject: [PATCH] Fix typo in test/unit/controller/search_with_ids Seems like a typo, should be `deepEqual` instead of `ok` --- test/unit/controller/search_with_ids.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/controller/search_with_ids.js b/test/unit/controller/search_with_ids.js index 153989b1..e4c1d21d 100644 --- a/test/unit/controller/search_with_ids.js +++ b/test/unit/controller/search_with_ids.js @@ -387,7 +387,8 @@ module.exports.tests.service_errors = (test, common) => { const res = {}; const next = () => { - t.ok(logger.getInfoMessages(), [ + t.deepEqual(logger.getInfoMessages(), [ + '[req]', 'request timed out on attempt 1, retrying', 'request timed out on attempt 2, retrying', 'request timed out on attempt 3, retrying'