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