diff --git a/test/integration/eslint/test/index.test.js b/test/integration/eslint/test/index.test.js
index 77f4eea0ae3b..1651e8534b33 100644
--- a/test/integration/eslint/test/index.test.js
+++ b/test/integration/eslint/test/index.test.js
@@ -742,7 +742,7 @@ describe('ESLint', () => {
'img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.'
)
expect(fileOutput).toContain(
- "Using `` could result in slower LCP and higher bandwidth because it doesn't utilize Image Optimization. Use `` from `next/image` instead to utilize Image Optimization. See: https://nextjs.org/docs/messages/no-img-element"
+ 'Using `` could result in slower LCP and higher bandwidth. Use `` from `next/image` instead to utilize Image Optimization. See: https://nextjs.org/docs/messages/no-img-element'
)
expect(fileOutput).toContain('file-linting/pages/index.js')