~sircmpwn/scdoc

scdoc/test/tables -rwxr-xr-x 238 bytes
7bdbb5ba — Sebastian Disallows differing row lengths in table 24 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
. test/lib.sh

begin "Handles empty table cells"
scdoc <<EOF >/dev/null
bug-example(1)

[[ *Foo*
:- 
:-
EOF
end 0

begin "Disallows differing row lengths"
scdoc <<EOF >/dev/null
bug-example(1)

[-
:-
:-
|-
:-
|-
:-
:-
EOF
end 1