From 751f71fdccbdadb3373c7ba1d05ed8613f704ee4 Mon Sep 17 00:00:00 2001 From: Prateek Bhatnagar Date: Tue, 31 Aug 2021 19:57:51 +0000 Subject: [PATCH] fixing error message --- test/unit/eslint-plugin-next/no-html-link-for-pages.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/eslint-plugin-next/no-html-link-for-pages.test.ts b/test/unit/eslint-plugin-next/no-html-link-for-pages.test.ts index 8a17ed983ce55..ce06cfd293805 100644 --- a/test/unit/eslint-plugin-next/no-html-link-for-pages.test.ts +++ b/test/unit/eslint-plugin-next/no-html-link-for-pages.test.ts @@ -104,7 +104,7 @@ export class Blah extends Head { render() { return (
- Homepage + Homepage

Hello title

); @@ -163,7 +163,7 @@ describe('no-html-link-for-pages', function () { assert.notEqual(report, undefined, 'No lint errors found.') assert.equal( report.message, - "Do not use the HTML tag to navigate to /list/blah/. Use Link from 'next/link' instead. See: https://nextjs.org/docs/messages/no-html-link-for-pages." + "Do not use the HTML tag to navigate to /list/goo/bar. Use Link from 'next/link' instead. See: https://nextjs.org/docs/messages/no-html-link-for-pages." ) }) })