docs: explain dynamic hints in more depth (#44290)
This commit is contained in:
committed by
GitHub
parent
ff3d9385f4
commit
0418c59445
@ -64,7 +64,7 @@ Tests to run against user code, in pairs of markdown text and code block test co
|
|||||||
Code for test one
|
Code for test one
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want dynamic output based on the user's code, --fcc-expected-- and --fcc-actual-- will be replaced with the expected and actual values of the test's assertion:
|
If you want dynamic output based on the user's code, --fcc-expected-- and --fcc-actual-- will be replaced with the expected and actual values of the test's assertion. Take care if you have multiple assertions since the first failing assertion will determine the values of --fcc-expected-- and --fcc-actual--.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert.equal(
|
assert.equal(
|
||||||
|
Reference in New Issue
Block a user