fix(seed): Space between function name and parameters was not (#16324)
parent
cdd9c54192
commit
2e92368396
|
@ -289,7 +289,7 @@
|
|||
],
|
||||
"tests": [
|
||||
"assert(fixedValue === 4, 'message: Your function <code>incrementer</code> should not change the value of <code>fixedValue</code>.');",
|
||||
"assert(code.match(/function\\s+?incrementer\\(.+?\\)/g), 'message: Your <code>incrementer</code> function should take a parameter.');",
|
||||
"assert(code.match(/function\\s+?incrementer\\s*?\\(.+?\\)/g), 'message: Your <code>incrementer</code> function should take a parameter.');",
|
||||
"assert(newValue === 5, 'message: Your <code>incrementer</code> function should return a value that is one larger than the <code>fixedValue</code> value.');"
|
||||
],
|
||||
"solutions": [],
|
||||
|
|
Loading…
Reference in New Issue