Skip to content

Commit c62bd79

Browse files
authored
docs: correct typo (#13746)
1 parent 9af2540 commit c62bd79

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

docs/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

website/versioned_docs/version-25.x/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

website/versioned_docs/version-26.x/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

website/versioned_docs/version-27.x/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

website/versioned_docs/version-28.x/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

website/versioned_docs/version-29.0/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

website/versioned_docs/version-29.1/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

website/versioned_docs/version-29.2/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

website/versioned_docs/version-29.3/UsingMatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('compiling android goes as expected', () => {
159159
expect(() => compileAndroidCode()).toThrow('you are using the wrong JDK');
160160
expect(() => compileAndroidCode()).toThrow(/JDK/);
161161

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

0 commit comments

Comments
 (0)