Update template-literal.js
This commit is contained in:
parent
d348c6f94a
commit
46bd827e6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue