Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahKimel committed Jun 15, 2024
1 parent d8a586e commit bbdc7e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion opts/envfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ func TestParseEnvFileFormattedWithSpace(t *testing.T) {
tmpFile := tmpFileWithContent(t, content)

_, err := ParseEnvFile(tmpFile)
assert.ErrorIs(t, err, ErrBadKey{"variable '[config 1]' contains whitespaces"})
if _, ok := err.(ErrBadKey); !ok {
t.Fatalf("Expected an ErrBadKey, got [%v]", err)
}
Expand Down

0 comments on commit bbdc7e4

Please sign in to comment.