]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
fixing whitespaces
authorJörg Breitbart <jerch@rockborn.de>
Sun, 16 Jul 2017 11:48:48 +0000 (13:48 +0200)
committerJörg Breitbart <jerch@rockborn.de>
Sun, 16 Jul 2017 11:48:48 +0000 (13:48 +0200)
src/InputHandler.test.ts

index 992b1ca6bb03369d3ed3a59dcecf6c91cce21bc4..d97404d6d811f40695256c3a969eac2c1921b06f 100644 (file)
@@ -167,7 +167,7 @@ describe('wcwidth', () => {
     let start_new = new Date().getTime();
     let x = 0;
     for (let runs = 0; runs < 1; ++runs)
-      for (let i=0; i<65536; ++i)
+      for (let i = 0; i < 65536; ++i)
         x = wcwidth(i);
     let end_new = new Date().getTime();
     let start_old = new Date().getTime();
@@ -176,6 +176,6 @@ describe('wcwidth', () => {
       for (let i = 0; i < 65536; ++i)
         y = old_wcwidth(i);
     let end_old = new Date().getTime();
-    assert.equal(((end_new-start_new) * 10 < (end_old-start_old)), true);
+    assert.equal(((end_new - start_new) * 10 < (end_old - start_old)), true);
   });
 });