Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
phm07 committed Sep 12, 2024
1 parent a800523 commit f367df7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/cmd/util/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func TestDescribeFormat(t *testing.T) {
Bar: "bar",
}, "Foo is: {{.Foo}} Bar is: {{.Bar}}")

assert.NoError(t, err)
require.NoError(t, err)
assert.Equal(t, "Foo is: foo Bar is: bar\n", buf.String())
}

Expand All @@ -213,7 +213,7 @@ func TestDescribeJSON(t *testing.T) {
Bar: "bar",
})

assert.NoError(t, err)
require.NoError(t, err)
assert.JSONEq(t, `{"foo":"foo", "bar": "bar"}`, buf.String())
}

Expand All @@ -227,7 +227,7 @@ func TestDescribeYAML(t *testing.T) {
Bar: "bar",
})

assert.NoError(t, err)
require.NoError(t, err)
assert.YAMLEq(t, `{"foo":"foo", "bar": "bar"}`, buf.String())
}

Expand Down

0 comments on commit f367df7

Please sign in to comment.