mirror of
https://github.com/stretchr/testify.git
synced 2025-05-29 10:42:08 +00:00
Change Require to Error
This commit is contained in:
parent
f96052c82a
commit
1bbde5e52a
@ -580,7 +580,7 @@ func (s *FailfastSuite) TearDownTest() {
|
||||
|
||||
func (s *FailfastSuite) Test_A_Fails() {
|
||||
s.call("Test A Fails")
|
||||
s.Require().True(false)
|
||||
s.T().Error("Test A meant to fail")
|
||||
}
|
||||
|
||||
func (s *FailfastSuite) Test_B_Passes() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user