Repository navigation
Commit f314f68
tests: Fix regex in test_slice
If the first line already conained a match, the former regex didn't
catch it correctly, because it was looking for a newline character to
detect the start of a line.
The new regex is using the proper `^` to match the beginning of a line.
For this to work as expected the `re.MULTILINE` flag has to be set.1 parent a01cede commit f314f68
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5451 | 5451 | | |
5452 | 5452 | | |
5453 | 5453 | | |
5454 | | - | |
| 5454 | + | |
| 5455 | + | |
| 5456 | + | |
5455 | 5457 | | |
5456 | 5458 | | |
5457 | 5459 | | |
| |||
0 commit comments