Skip to content

Commit

Permalink
Remove duplicate 'arrays' in ExpectAPI.md. (#7775)
Browse files Browse the repository at this point in the history
  • Loading branch information
H1Gdev authored and SimenB committed Feb 1, 2019
1 parent 4bfcb5b commit 2780a77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ test('the house has my desired features', () => {
```

```js
describe('toMatchObject applied to arrays arrays', () => {
describe('toMatchObject applied to arrays', () => {
test('the number of elements must match exactly', () => {
expect([{foo: 'bar'}, {baz: 1}]).toMatchObject([{foo: 'bar'}, {baz: 1}]);
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-22.x/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ test('the house has my desired features', () => {
```

```js
describe('toMatchObject applied to arrays arrays', () => {
describe('toMatchObject applied to arrays', () => {
test('the number of elements must match exactly', () => {
expect([{foo: 'bar'}, {baz: 1}]).toMatchObject([{foo: 'bar'}, {baz: 1}]);
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-23.x/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ test('the house has my desired features', () => {
```

```js
describe('toMatchObject applied to arrays arrays', () => {
describe('toMatchObject applied to arrays', () => {
test('the number of elements must match exactly', () => {
expect([{foo: 'bar'}, {baz: 1}]).toMatchObject([{foo: 'bar'}, {baz: 1}]);
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-24.0/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ test('the house has my desired features', () => {
```

```js
describe('toMatchObject applied to arrays arrays', () => {
describe('toMatchObject applied to arrays', () => {
test('the number of elements must match exactly', () => {
expect([{foo: 'bar'}, {baz: 1}]).toMatchObject([{foo: 'bar'}, {baz: 1}]);
});
Expand Down

0 comments on commit 2780a77

Please sign in to comment.