mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +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');
|
||||
|
||||
if (ArrayBuffer) {
|
||||
// Avoid comparing buffers with `deepEqual` in Rhino because it errors.
|
||||
if (ArrayBuffer && !isRhino) {
|
||||
try {
|
||||
var buffer = new ArrayBuffer(10);
|
||||
actual = lodashBizarro.clone(buffer);
|
||||
|
||||
Reference in New Issue
Block a user