From a867d302518d74f633e41afb996dcd6ce20903a6 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Sun, 3 Apr 2022 22:42:16 -0400 Subject: [PATCH] check_test: check the error Signed-off-by: Vincent Batts --- check_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/check_test.go b/check_test.go index 1b10d9e..594fa63 100644 --- a/check_test.go +++ b/check_test.go @@ -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 {