mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Ensure testing array buffers hits all parts of cloneBuffer.
This commit is contained in:
@@ -1546,7 +1546,7 @@
|
||||
});
|
||||
|
||||
test('`_.' + methodName + '` should clone array buffers', 2, function() {
|
||||
var buffer = ArrayBuffer && new ArrayBuffer(8);
|
||||
var buffer = ArrayBuffer && new ArrayBuffer(12);
|
||||
if (buffer) {
|
||||
var actual = func(buffer);
|
||||
strictEqual(actual.byteLength, buffer.byteLength);
|
||||
|
||||
Reference in New Issue
Block a user