diff --git a/packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js b/packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js index c6fc1746e1351..3314439cd35d5 100644 --- a/packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js +++ b/packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js @@ -758,8 +758,8 @@ function loopError(hook) { function functionError(hook, fn) { return { message: - `React Hook "${hook}" is called in function "${fn}" which is neither ` + - 'a React function component or a custom React Hook function.', + `React Hook "${hook}" is called in function "${fn}" that is neither ` + + 'a React function component nor a custom React Hook function.', }; }