Repository navigation
Commit 02a1b82
committed
Check is_nil on every document constructor
Codecov still reported the last line of the is_nil match: its Group,
CustomLayout and BreakParent alternatives share the line with the new
ones, and no test passed them. The test now checks every constructor.
Signed-off-by: Roland Peelen <roland@magic.dev>1 parent 589db13 commit 02a1b82
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | | - | |
672 | | - | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
673 | 686 | | |
674 | 687 | | |
675 | 688 | | |
| |||
0 commit comments