Seek and Destory: Remove problematic argument
Remove an empty string passed as an argument to `destroy()`. This argument, being the last, caused people to think their code worked correctly when it, in fact, worked correctly on all arguments except the last one.
This commit is contained in:
@ -568,7 +568,7 @@
|
|||||||
" return arr;",
|
" return arr;",
|
||||||
"}",
|
"}",
|
||||||
"",
|
"",
|
||||||
"destroyer([1, 2, 3, 1, 2, 3], 2, 3, \"\");"
|
"destroyer([1, 2, 3, 1, 2, 3], 2, 3);"
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
"assert.deepEqual(destroyer([1, 2, 3, 1, 2, 3], 2, 3), [1, 1], 'message: <code>destroyer([1, 2, 3, 1, 2, 3], 2, 3)</code> should return <code>[1, 1]</code>.');",
|
"assert.deepEqual(destroyer([1, 2, 3, 1, 2, 3], 2, 3), [1, 1], 'message: <code>destroyer([1, 2, 3, 1, 2, 3], 2, 3)</code> should return <code>[1, 1]</code>.');",
|
||||||
|
Reference in New Issue
Block a user