Skip to content

Commit

Permalink
fix populate tests for older node
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasq committed Jan 9, 2021
1 parent 196afaf commit 49497d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-qibl.js
Expand Up @@ -559,8 +559,8 @@ module.exports = {
var buf = qibl.allocBuf(6);
t.deepEqual(qibl.populate(buf, 3), qibl.fromBuf([3, 3, 3, 3, 3, 3]));
t.deepEqual(qibl.populate(buf, 5, { base: 2 }), qibl.fromBuf([3, 3, 5, 5, 5, 5]));
t.deepEqual(qibl.populate(buf, 7, { base: 3, bound: 5 }), [3, 3, 5, 7, 7, 5]);
t.deepEqual(qibl.populate(buf, 9, { base: 2, bound: 4 }), [3, 3, 9, 9, 7, 5]);
t.deepEqual(qibl.populate(buf, 7, { base: 3, bound: 5 }), qibl.fromBuf([3, 3, 5, 7, 7, 5]));
t.deepEqual(qibl.populate(buf, 9, { base: 2, bound: 4 }), qibl.fromBuf([3, 3, 9, 9, 7, 5]));

t.done();
},
Expand Down

0 comments on commit 49497d7

Please sign in to comment.