[Fix] allow line breaks between method calls for several Data Visualization challenges (#35093)
* fix: allow spaces between lines breaks a function arguments * fix: allow line breaks between method calls
This commit is contained in:
committed by
Christopher McCormack
parent
603585e39e
commit
bc99876f9e
@ -33,7 +33,7 @@ tests:
|
||||
- text: The y-axis <code>g</code> element should have a <code>transform</code> attribute to translate the axis by (60, 0).
|
||||
testString: assert($('g').eq(1).attr('transform').match(/translate\(60\s*?,\s*?0\)/g), 'The y-axis <code>g</code> element should have a <code>transform</code> attribute to translate the axis by (60, 0).');
|
||||
- text: Your code should call the <code>yAxis</code>.
|
||||
testString: assert(code.match(/\.call\(yAxis\)/g), 'Your code should call the <code>yAxis</code>.');
|
||||
testString: assert(code.match(/\.call\(\s*yAxis\s*\)/g), 'Your code should call the <code>yAxis</code>.');
|
||||
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user