Skip to content

Commit

Permalink
Refactor tests (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky authored Mar 24, 2021
1 parent a51c631 commit c90227e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import figures from '.';

const result = (main, windows) => process.platform === 'win32' ? windows : main;

console.log(' ' + Object.keys(figures).map(symbol => figures[symbol]).join(' ') + '\n');
console.log(` ${Object.values(figures).join(' ')}\n`);

test('figures', t => {
t.is(figures.tick, result('✔', '√'));
Expand Down

0 comments on commit c90227e

Please sign in to comment.