Skip to content

Commit

Permalink
fix: config test with no config, should get error
Browse files Browse the repository at this point in the history
  • Loading branch information
maier committed Dec 5, 2023
1 parent 096f112 commit 30e8795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ func TestValidate(t *testing.T) {
t.Log("no config")
{
err := Validate()
if err != nil {
t.Fatalf("Expected NO error, got (%s)", err)
if err == nil {
t.Fatal("expected error")
}
}
}
Expand Down

0 comments on commit 30e8795

Please # to comment.