Skip to content

Commit aad40ad

Browse files
committed
Fix test to match p5.Vector.toString() behavior
1 parent b2618f4 commit aad40ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/math/p5.Vector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2035,7 +2035,7 @@ suite('p5.Vector', function () {
20352035
describe('vector to string', () => {
20362036
it('should return the string version of a vector', () => {
20372037
v = new mockP5.Vector(1, 2, 3, 4);
2038-
expect(v.toString()).toBe('[1, 2, 3, 4]');
2038+
expect(v.toString()).toBe('vector[1, 2, 3, 4]');
20392039
});
20402040
});
20412041

0 commit comments

Comments
 (0)