You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/unit/core/param_errors.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@ suite('Validate Params', function () {
150
150
{fn: 'rect',name: 'null, non-trailing, optional parameter',input: [0,0,0,0,null,0,0,0],msg: '🌸 p5.js says: Expected number at the fifth parameter, but received null in p5.rect().'},
151
151
{fn: 'color',name: 'too many args + wrong types too',input: ['A','A',0,0,0,0,0,0,0,0],msg: '🌸 p5.js says: Expected at most 4 arguments, but received more in p5.color(). For more information, see https://p5js.org/reference/p5/color.'},
152
152
{fn: 'line',name: 'null string given',input: [1,2,4,'null'],msg: '🌸 p5.js says: Expected number at the fourth parameter, but received string in p5.line().'},
153
-
{fn: 'line',name: 'NaN value given',input: [1,2,4,NaN],msg: '🌸 p5.js says: Expected number at the fourth parameter, but received nan in p5.line().'}
153
+
{fn: 'line',name: 'NaN value given',input: [1,2,4,NaN],msg: '🌸 p5.js says: Expected number at the fourth parameter, but received NaN in p5.line().'}
0 commit comments