Skip to content

Commit

Permalink
Use a more suitable character for cross (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 authored Aug 8, 2022
1 parent 62b5c69 commit ab27bdd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const mainSymbols = {
tick: '✔',
info: 'ℹ',
warning: '⚠',
cross: '',
cross: '',
squareSmall: '◻',
squareSmallFilled: '◼',
circle: '◯',
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ String where the Unicode symbols will be replaced with fallback symbols dependin
| tick | `` | `` |
| info | `` | `i` |
| warning | `` | `` |
| cross | `` | `×` |
| cross | `` | `×` |
| square | `` | |
| squareSmall | `` | `` |
| squareSmallFilled | `` | `` |
Expand Down
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ test('replaceSymbols()', t => {
t.is(replaceSymbols('foo'), 'foo');
t.is(replaceSymbols('?bar?'), '?bar?');
t.is(replaceSymbols('✔ ✔ ✔'), result('✔ ✔ ✔', '√ √ √'));
t.is(replaceSymbols('✔ \n★ ◼'), result('✔ \n★ ◼', '√ ×\n✶ ■'));
t.is(replaceSymbols('✔ ★ ◼'), result('✔ ★ ◼', '√ × ✶ ■'));
t.is(replaceSymbols('✔ \n★ ◼'), result('✔ \n★ ◼', '√ ×\n✶ ■'));
t.is(replaceSymbols('✔ ★ ◼'), result('✔ ★ ◼', '√ × ✶ ■'));
});

test('mainSymbols and windowsSymbols', t => {
Expand Down

0 comments on commit ab27bdd

Please sign in to comment.