diff --git a/docs/UsingMatchers.md b/docs/UsingMatchers.md index 64316b679017..0bf374320f61 100644 --- a/docs/UsingMatchers.md +++ b/docs/UsingMatchers.md @@ -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 }); diff --git a/website/versioned_docs/version-25.x/UsingMatchers.md b/website/versioned_docs/version-25.x/UsingMatchers.md index d7081bffc61a..c224906d402d 100644 --- a/website/versioned_docs/version-25.x/UsingMatchers.md +++ b/website/versioned_docs/version-25.x/UsingMatchers.md @@ -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 }); diff --git a/website/versioned_docs/version-26.x/UsingMatchers.md b/website/versioned_docs/version-26.x/UsingMatchers.md index 570bd243e5dd..79ea74ff43a7 100644 --- a/website/versioned_docs/version-26.x/UsingMatchers.md +++ b/website/versioned_docs/version-26.x/UsingMatchers.md @@ -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 }); diff --git a/website/versioned_docs/version-27.x/UsingMatchers.md b/website/versioned_docs/version-27.x/UsingMatchers.md index 64316b679017..0bf374320f61 100644 --- a/website/versioned_docs/version-27.x/UsingMatchers.md +++ b/website/versioned_docs/version-27.x/UsingMatchers.md @@ -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 }); diff --git a/website/versioned_docs/version-28.x/UsingMatchers.md b/website/versioned_docs/version-28.x/UsingMatchers.md index 64316b679017..0bf374320f61 100644 --- a/website/versioned_docs/version-28.x/UsingMatchers.md +++ b/website/versioned_docs/version-28.x/UsingMatchers.md @@ -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 }); diff --git a/website/versioned_docs/version-29.0/UsingMatchers.md b/website/versioned_docs/version-29.0/UsingMatchers.md index 64316b679017..0bf374320f61 100644 --- a/website/versioned_docs/version-29.0/UsingMatchers.md +++ b/website/versioned_docs/version-29.0/UsingMatchers.md @@ -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 }); diff --git a/website/versioned_docs/version-29.1/UsingMatchers.md b/website/versioned_docs/version-29.1/UsingMatchers.md index 64316b679017..0bf374320f61 100644 --- a/website/versioned_docs/version-29.1/UsingMatchers.md +++ b/website/versioned_docs/version-29.1/UsingMatchers.md @@ -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 }); diff --git a/website/versioned_docs/version-29.2/UsingMatchers.md b/website/versioned_docs/version-29.2/UsingMatchers.md index 64316b679017..0bf374320f61 100644 --- a/website/versioned_docs/version-29.2/UsingMatchers.md +++ b/website/versioned_docs/version-29.2/UsingMatchers.md @@ -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 }); diff --git a/website/versioned_docs/version-29.3/UsingMatchers.md b/website/versioned_docs/version-29.3/UsingMatchers.md index 64316b679017..0bf374320f61 100644 --- a/website/versioned_docs/version-29.3/UsingMatchers.md +++ b/website/versioned_docs/version-29.3/UsingMatchers.md @@ -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 });