a test uses a benchmark that read alice.html, dfsg excluded
authorJérémy Lal <kapouer@melix.org>
Mon, 20 Apr 2020 07:44:09 +0000 (08:44 +0100)
committerJérémy Lal <kapouer@melix.org>
Mon, 20 Apr 2020 07:44:09 +0000 (08:44 +0100)
Last-Update: 2017-12-25
Forwarded: not-needed

Gbp-Pq: Name benchmark_without_alice.patch

benchmark/buffers/buffer-indexof-number.js
benchmark/buffers/buffer-indexof.js

index 91bff0d54bb7eb98cf5bc1ef02213e8b676c8573..19be433e90e189bd7dc687d3d2b45f6ba3de0f8e 100644 (file)
@@ -10,7 +10,7 @@ const bench = common.createBenchmark(main, {
 
 function main({ n, value }) {
   const aliceBuffer = fs.readFileSync(
-    path.resolve(__dirname, '../fixtures/alice.html')
+    path.resolve(__dirname, '../../doc/api/all.html')
   );
 
   bench.start();
index 26d82c506db3b03ad400655ac50e04ca6a049e05..56fe54c089382d9ce7de2d742a6de7fadb56edce 100644 (file)
@@ -30,7 +30,7 @@ const bench = common.createBenchmark(main, {
 
 function main({ n, search, encoding, type }) {
   var aliceBuffer = fs.readFileSync(
-    path.resolve(__dirname, '../fixtures/alice.html')
+    path.resolve(__dirname, '../../doc/api/all.html')
   );
 
   if (encoding === 'undefined') {