Skip to content

Commit ab27bdd

Browse files
authoredAug 8, 2022
Use a more suitable character for cross (#93)
1 parent 62b5c69 commit ab27bdd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export const mainSymbols = {
216216
tick: '✔',
217217
info: 'ℹ',
218218
warning: '⚠',
219-
cross: '',
219+
cross: '',
220220
squareSmall: '◻',
221221
squareSmallFilled: '◼',
222222
circle: '◯',

‎readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ String where the Unicode symbols will be replaced with fallback symbols dependin
7272
| tick | `` | `` |
7373
| info | `` | `i` |
7474
| warning | `` | `` |
75-
| cross | `` | `×` |
75+
| cross | `` | `×` |
7676
| square | `` | |
7777
| squareSmall | `` | `` |
7878
| squareSmallFilled | `` | `` |

‎test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ test('replaceSymbols()', t => {
1414
t.is(replaceSymbols('foo'), 'foo');
1515
t.is(replaceSymbols('?bar?'), '?bar?');
1616
t.is(replaceSymbols('✔ ✔ ✔'), result('✔ ✔ ✔', '√ √ √'));
17-
t.is(replaceSymbols('✔ \n★ ◼'), result('✔ \n★ ◼', '√ ×\n✶ ■'));
18-
t.is(replaceSymbols('✔ ★ ◼'), result('✔ ★ ◼', '√ × ✶ ■'));
17+
t.is(replaceSymbols('✔ \n★ ◼'), result('✔ \n★ ◼', '√ ×\n✶ ■'));
18+
t.is(replaceSymbols('✔ ★ ◼'), result('✔ ★ ◼', '√ × ✶ ■'));
1919
});
2020

2121
test('mainSymbols and windowsSymbols', t => {

0 commit comments

Comments
 (0)
Please sign in to comment.