From 04185d94c1548ddc70609999a3f6264be01b0b98 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 27 Oct 2020 14:38:35 -0400 Subject: [PATCH] fix: indentation --- test/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api.js b/test/api.js index 9cc2130522..640160fcb9 100644 --- a/test/api.js +++ b/test/api.js @@ -324,7 +324,7 @@ describe('Read API', async () => { assert.strictEqual(Array.isArray(response[prop]), true, '"' + prop + '" was expected to be an array, but was ' + typeof response[prop] + ' instead (path: ' + method + ' ' + path + ', context: ' + context + ')'); if (schema[prop].items) { - // Ensure the array items have a schema defined + // Ensure the array items have a schema defined assert(schema[prop].items.type || schema[prop].items.allOf, '"' + prop + '" is defined to be an array, but its items have no schema defined (path: ' + method + ' ' + path + ', context: ' + context + ')'); // Compare types