Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bayashi
Copy link
Owner

@bayashi bayashi commented Oct 5, 2025

Add FailNow gurad syntax:

        actually.FailNow(func() {
		actually.Got(false).True(t) // stop this failuer
		actually.Got(true).True(t)  // not executed
	})

FailNow method is same as before:

    actually.Got(something).FailNow().Nil(t)

@bayashi bayashi merged commit 9e7bc5f into main Oct 5, 2025
8 checks passed
@bayashi bayashi deleted the guard-failnow branch October 5, 2025 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants