Skip to content

Commit

Permalink
refactor: False function to correctly configure test failure condition
Browse files Browse the repository at this point in the history
  • Loading branch information
i9si authored Dec 20, 2024
2 parents abb2c9b + e18ae9a commit 7f7d3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion false.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package assert
// assert.False(t, result, "Expected result to be false")
func False(t T, ok bool, args ...any) {
tester := initTest(t)
configureTest(tester, ok, true)
configureTest(tester, ok, false)
if ok {
tester.Fatal(args...)
}
Expand Down

0 comments on commit 7f7d3a7

Please sign in to comment.