File: remove-obsolete-test

package info (click to toggle)
node-immutable-tuple 0.4.10-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 928 kB
  • sloc: javascript: 3,828; makefile: 5; sh: 3
file content (24 lines) | stat: -rw-r--r-- 874 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: remove an obsolete test that fails with recent versions of Node.js
 because of an implementation change (https://github.com/nodejs/node/commit/a0f338ecc1)
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963771
Author: Olivier Tilloy <olivier.tilloy@canonical.com>

--- a/test/tests.js
+++ b/test/tests.js
@@ -217,16 +217,6 @@ describe("performance", function () {
   const tupleCount = 100000;
   const elemCount = 10;
 
-  it("can handle a lot of strings", function () {
-    for (var i = 0; i < tupleCount; ++i) {
-      const elems = [];
-      for (var j = 0; j < elemCount; ++j) {
-        elems.push(Math.random().toString(36).slice(2));
-      }
-      assert.deepEqual(tuple.apply(null, elems), elems);
-    }
-  });
-
   it("can handle a lot of objects", function () {
     for (var i = 0; i < tupleCount; ++i) {
       const elems = [];