From fc504931b4dc882efb0b8fefdd89ad88e9c0901e Mon Sep 17 00:00:00 2001 From: Tom Sherman Date: Tue, 12 Mar 2019 12:42:04 +0000 Subject: [PATCH] Update error message --- test/constructor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/constructor.js b/test/constructor.js index f33814b..188001a 100644 --- a/test/constructor.js +++ b/test/constructor.js @@ -7,7 +7,7 @@ test('Chalk.constructor should throw an expected error', t => { chalk.constructor(); }); - t.is(expectedError.message, 'Chalk.constructor() is deprecated. Use new Chalk.Instance() instead.'); + t.is(expectedError.message, '`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.'); t.throws(() => { new chalk.constructor(); // eslint-disable-line no-new