check_test: check the error

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2022-04-03 22:42:16 -04:00
parent 6fb913af99
commit a867d30251
Signed by: vbatts
GPG Key ID: 10937E57733F1362
1 changed files with 3 additions and 0 deletions

View File

@ -273,6 +273,9 @@ func TestIgnoreComments(t *testing.T) {
..
`
dh, err = ParseSpec(bytes.NewBufferString(spec))
if err != nil {
t.Error(err)
}
res, err = Check(dir, dh, nil, nil)
if err != nil {