docs: explain dynamic hints in more depth (#44290)

This commit is contained in:
Oliver Eyton-Williams
2021-11-26 15:06:22 +01:00
committed by GitHub
parent ff3d9385f4
commit 0418c59445

View File

@ -64,7 +64,7 @@ Tests to run against user code, in pairs of markdown text and code block test co
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
assert.equal(