Skip to content

Commit

Permalink
Fixes docs for error.
Browse files Browse the repository at this point in the history
  • Loading branch information
servel333 committed Sep 13, 2017
1 parent 04ba963 commit a54b38c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/release-source/release/matchers.md
Expand Up @@ -229,10 +229,14 @@ The propertyPath might be inherited via the prototype chain. If the optional exp

```javascript
sinon.match.hasNested("a[0].b.c");
sinon.match.hasNested("a.b.c");

// Where actual is something like
var actual = { "a": [{ "b": { "c": 3 } }] };

sinon.match.hasNested("a.b.c");

// Where actual is something like
var actual = { "a": { "b": { "c": 3 } } };
```


Expand Down

0 comments on commit a54b38c

Please sign in to comment.