Skip to content

Commit

Permalink
fix unrelated parser_test compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
langmartin committed Apr 25, 2019
1 parent fa8f365 commit 5eb0f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hcl/parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func TestListType_lineComment(t *testing.T) {
comment := l.comment[i]

if (lt.LineComment == nil) != (comment == "") {
t.Fatalf("bad: %s", lt)
t.Fatalf("bad: %s", lt.Token.Value())
}

if comment == "" {
Expand Down

0 comments on commit 5eb0f21

Please sign in to comment.