mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-12-18 12:06:30 +00:00
check_test: check the error
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
6fb913af99
commit
a867d30251
1 changed files with 3 additions and 0 deletions
|
@ -273,6 +273,9 @@ func TestIgnoreComments(t *testing.T) {
|
||||||
..
|
..
|
||||||
`
|
`
|
||||||
dh, err = ParseSpec(bytes.NewBufferString(spec))
|
dh, err = ParseSpec(bytes.NewBufferString(spec))
|
||||||
|
if err != nil {
|
||||||
|
t.Error(err)
|
||||||
|
}
|
||||||
|
|
||||||
res, err = Check(dir, dh, nil, nil)
|
res, err = Check(dir, dh, nil, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue