Skip to content

Commit 10c9c14

Browse files
authored
Fix assertion in README example for add function
1 parent f3fab75 commit 10c9c14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Let's suppose that you have the following markdown file:
5050
This code-block should run fine.
5151

5252
```python
53-
assert add(1, 2) == 3
53+
assert add(a, b) == 3
5454
```
5555

5656
Then in this case the second code-block depends on the first code-block. The standard settings of `check_md_file` assume that each code-block needs to run independently. If you'd like to test markdown files with these sequential code-blocks be sure to set `memory=True`.

0 commit comments

Comments
 (0)