mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Fix test error in Rhino with CommonJS support.
This commit is contained in:
@@ -762,7 +762,8 @@
|
|||||||
}
|
}
|
||||||
deepEqual(actual, [6, 8, 10], '`_.parseInt` should work in its bizarro form');
|
deepEqual(actual, [6, 8, 10], '`_.parseInt` should work in its bizarro form');
|
||||||
|
|
||||||
if (ArrayBuffer) {
|
// Avoid comparing buffers with `deepEqual` in Rhino because it errors.
|
||||||
|
if (ArrayBuffer && !isRhino) {
|
||||||
try {
|
try {
|
||||||
var buffer = new ArrayBuffer(10);
|
var buffer = new ArrayBuffer(10);
|
||||||
actual = lodashBizarro.clone(buffer);
|
actual = lodashBizarro.clone(buffer);
|
||||||
|
|||||||
Reference in New Issue
Block a user