Skip to content

Commit

Permalink
🧪 test: Make sure assertion message is a string.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed May 6, 2021
1 parent fe0881e commit fb89316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/cycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('cycle', (t) => {

for (let i = 0; i < 1000; ++i) {
for (const [j, element] of a.entries()) {
t.deepEqual(next(it), element, i + '.' + j);
t.deepEqual(next(it), element, `${i}.${j}`);
}
}
});

0 comments on commit fb89316

Please sign in to comment.