Skip to content

Commit

Permalink
more consistent function sign (#10661)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumosmind committed Oct 23, 2020
1 parent 399c7b3 commit 9b9020b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/ExpectAPI.md
Expand Up @@ -1080,7 +1080,7 @@ If differences between properties do not help you to understand why a test fails
- rewrite `expect(received).toEqual(expected)` as `expect(received.equals(expected)).toBe(true)`
- rewrite `expect(received).not.toEqual(expected)` as `expect(received.equals(expected)).toBe(false)`

### `.toMatch(regexpOrString)`
### `.toMatch(regexp | string)`

Use `.toMatch` to check that a string matches a regular expression.

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-22.x/ExpectAPI.md
Expand Up @@ -780,7 +780,7 @@ If differences between properties do not help you to understand why a test fails
- rewrite `expect(received).toEqual(expected)` as `expect(received.equals(expected)).toBe(true)`
- rewrite `expect(received).not.toEqual(expected)` as `expect(received.equals(expected)).toBe(false)`

### `.toMatch(regexpOrString)`
### `.toMatch(regexp | string)`

Use `.toMatch` to check that a string matches a regular expression.

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-23.x/ExpectAPI.md
Expand Up @@ -1044,7 +1044,7 @@ If differences between properties do not help you to understand why a test fails
- rewrite `expect(received).toEqual(expected)` as `expect(received.equals(expected)).toBe(true)`
- rewrite `expect(received).not.toEqual(expected)` as `expect(received.equals(expected)).toBe(false)`

### `.toMatch(regexpOrString)`
### `.toMatch(regexp | string)`

Use `.toMatch` to check that a string matches a regular expression.

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-24.x/ExpectAPI.md
Expand Up @@ -1055,7 +1055,7 @@ If differences between properties do not help you to understand why a test fails
- rewrite `expect(received).toEqual(expected)` as `expect(received.equals(expected)).toBe(true)`
- rewrite `expect(received).not.toEqual(expected)` as `expect(received.equals(expected)).toBe(false)`

### `.toMatch(regexpOrString)`
### `.toMatch(regexp | string)`

Use `.toMatch` to check that a string matches a regular expression.

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-25.x/ExpectAPI.md
Expand Up @@ -1081,7 +1081,7 @@ If differences between properties do not help you to understand why a test fails
- rewrite `expect(received).toEqual(expected)` as `expect(received.equals(expected)).toBe(true)`
- rewrite `expect(received).not.toEqual(expected)` as `expect(received.equals(expected)).toBe(false)`

### `.toMatch(regexpOrString)`
### `.toMatch(regexp | string)`

Use `.toMatch` to check that a string matches a regular expression.

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-26.2/ExpectAPI.md
Expand Up @@ -1081,7 +1081,7 @@ If differences between properties do not help you to understand why a test fails
- rewrite `expect(received).toEqual(expected)` as `expect(received.equals(expected)).toBe(true)`
- rewrite `expect(received).not.toEqual(expected)` as `expect(received.equals(expected)).toBe(false)`

### `.toMatch(regexpOrString)`
### `.toMatch(regexp | string)`

Use `.toMatch` to check that a string matches a regular expression.

Expand Down

0 comments on commit 9b9020b

Please sign in to comment.