Skip to content

Commit 745987c

Browse files
authoredMar 24, 2021
Improve the star figure (#41)
1 parent bac7335 commit 745987c

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
@@ -68,7 +68,7 @@ const main = {
6868
const fallback = {
6969
tick: '√',
7070
cross: '×',
71-
star: '*',
71+
star: '',
7272
square: '█',
7373
squareSmall: '[ ]',
7474
squareSmallFilled: '[█]',

‎readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Symbols to use when running on Windows.
6565
| ------------------ | :---------: | :-----: |
6666
| tick |||
6767
| cross || × |
68-
| star || * |
68+
| star || |
6969
| square |||
7070
| squareSmall || [ ] |
7171
| squareSmallFilled || [] |

‎test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test('fallbacks', t => {
1313
t.is(figures('foo'), 'foo');
1414
t.is(figures('?bar?'), '?bar?');
1515
t.is(figures('✔ ✔ ✔'), result('✔ ✔ ✔', '√ √ √'));
16-
t.is(figures('✔ ✖\n★ ▇'), result('✔ ✖\n★ ▇', '√ ×\n* █'));
17-
t.is(figures('✔ ✖ ★ ▇'), result('✔ ✖ ★ ▇', '√ × * █'));
16+
t.is(figures('✔ ✖\n★ ▇'), result('✔ ✖\n★ ▇', '√ ×\n █'));
17+
t.is(figures('✔ ✖ ★ ▇'), result('✔ ✖ ★ ▇', '√ × █'));
1818
});
1919

2020
test('exported sets', t => {

0 commit comments

Comments
 (0)
Please sign in to comment.