Skip to content

Commit

Permalink
docs: correct typo (#13746)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalyncoose authored Jan 9, 2023
1 parent 9af2540 commit c62bd79
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-25.x/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-26.x/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-27.x/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-28.x/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.0/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.1/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.2/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.3/UsingMatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
expect(() => compileAndroidCode()).toThrow(/JDK/);

// Or you can match an exact error mesage using a regexp like below
// Or you can match an exact error message using a regexp like below
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK$/); // Test fails
expect(() => compileAndroidCode()).toThrow(/^you are using the wrong JDK!$/); // Test pass
});
Expand Down

0 comments on commit c62bd79

Please sign in to comment.