Skip to content

Commit

Permalink
Update conf/parse_test.go
Browse files Browse the repository at this point in the history
Add new else based on PR feedback.

Co-authored-by: Waldemar Quevedo <wally@synadia.com>
  • Loading branch information
derekcollison and wallyqs committed May 10, 2024
1 parent 1cd5c4c commit a09b8e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/parse_test.go
Expand Up @@ -811,6 +811,8 @@ func TestBlocks(t *testing.T) {
}
} else if !strings.Contains(err.Error(), test.err) || !strings.Contains(err.Error(), test.linepos) {
t.Errorf("expected invalid conf error, got: %v", err)
} else if err != nil {
t.Error(err)
}
})
}
Expand Down

0 comments on commit a09b8e0

Please sign in to comment.