Skip to content

Commit 5d64288

Browse files
author
Lauren McCarthy
committed
use deepEqual to compare arrays #1463
1 parent eb17bd0 commit 5d64288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/color/p5.Color.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ suite('p5.Color', function() {
801801
});
802802

803803
test('should not mutate color levels', function() {
804-
assert.equal(c.levels, [128, 0, 128, 128]);
804+
assert.deepEqual(c.levels, [128, 0, 128, 128]);
805805
});
806806
});
807807
});

0 commit comments

Comments
 (0)