Skip to content

Commit

Permalink
test speedup defensive
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch committed Jul 16, 2017
1 parent 6733c6c commit 5d87b54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/InputHandler.test.ts
Expand Up @@ -176,8 +176,8 @@ describe('wcwidth', () => {
for (let i = 0; i < 65536; ++i)
y = old_wcwidth(i);
let end_old = new Date().getTime();
//console.log((end_new - start_new));
//console.log((end_old - start_old));
// console.log((end_new - start_new));
// console.log((end_old - start_old));
assert.equal(((end_new - start_new) * 5 < (end_old - start_old)), true);
});
});

0 comments on commit 5d87b54

Please sign in to comment.