From 46bd827e6f24b2c2cc433c877cd12cad8a51d0f0 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 12 Jul 2019 13:34:49 +0700 Subject: [PATCH] Update template-literal.js --- test/template-literal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/template-literal.js b/test/template-literal.js index facc35f..ae4a0bc 100644 --- a/test/template-literal.js +++ b/test/template-literal.js @@ -169,7 +169,7 @@ test('should properly handle undefined template interpolated values', t => { t.is(instance`hello ${null}`, 'hello null'); }); -test('should allow bracketed unicode escapes', t => { +test('should allow bracketed Unicode escapes', t => { const instance = new chalk.Instance({level: 3}); t.is(instance`\u{AB}`, '\u{AB}'); t.is(instance`This is a {bold \u{AB681}} test`, 'This is a \u001B[1m\u{AB681}\u001B[22m test');