diff --git a/index.js b/index.js index 857636d..18ff319 100644 --- a/index.js +++ b/index.js @@ -216,7 +216,7 @@ export const mainSymbols = { tick: '✔', info: 'ℹ', warning: '⚠', - cross: '✖', + cross: '✘', squareSmall: '◻', squareSmallFilled: '◼', circle: '◯', diff --git a/readme.md b/readme.md index 7e483ed..9465e73 100644 --- a/readme.md +++ b/readme.md @@ -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 | `◼` | `■` | diff --git a/test.js b/test.js index f96d97c..00f12fb 100644 --- a/test.js +++ b/test.js @@ -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 => {