From 34035a50303b587847300764f384022d252b5a72 Mon Sep 17 00:00:00 2001 From: Alex J Burke Date: Sat, 22 Jun 2019 13:57:05 +0200 Subject: [PATCH] Simplify the first sentence about array-like. --- documentation/assertions/any/to-satisfy.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/assertions/any/to-satisfy.md b/documentation/assertions/any/to-satisfy.md index 118da692f..6246977d5 100644 --- a/documentation/assertions/any/to-satisfy.md +++ b/documentation/assertions/any/to-satisfy.md @@ -26,9 +26,9 @@ expect({ bar: 'quux', baz: true }, 'to satisfy', { bar: /QU*X/i }); ## array-like -When satisfying against an array-like, length is always taken into account. -The behaviour is thus to specify the specification of each item that is expected -in the array: +When satisfying against an array-like, length is always taken into account. The +effect is that the asasertion allows making statements via a specification of +each element that is expected to be in the array: ```js expect([0, 1, 2], 'to satisfy', [0, 1]);