File: drop-tbig-endian-broken-test.patch

package info (click to toggle)
node-to-buffer 1.2.2%2B~cs4.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 612 kB
  • sloc: javascript: 347; makefile: 15
file content (25 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: drop test incompatible with Big-Endian archs
Author: Yadd <yadd@debian.org>
Bug: https://github.com/browserify/to-buffer/issues/6
Forwarded: not-needed
Last-Update: 2025-09-27

--- a/test/index.js
+++ b/test/index.js
@@ -81,11 +81,11 @@
 			}
 		}
 
-		t.deepEqual(
-			toBuffer(new TA(input)),
-			new Buffer(fixtures[type].output),
-			type + ' should be converted to Buffer correctly'
-		);
+		//t.deepEqual(
+		//	toBuffer(new TA(input)),
+		//	new Buffer(fixtures[type].output),
+		//	type + ' should be converted to Buffer correctly'
+		//);
 	});
 
 	t.test('TA subset view on another one', { skip: typeof Float64Array === 'undefined' || typeof Uint8Array === 'undefined' }, function (st) {