Description

NoError asserts that a function returned no error (i.e. `nil`).

  actualObj, err := SomeFunction()
  if assert.NoError(t, err) {
	   assert.Equal(t, actualObj, expectedObj)
  }

Returns whether the assertion was successful (true) or not (false).

NoError is referenced in 716 repositories

github.com/stretchr/testify github.com/linkeddata/gold github.com/corestoreio/csfw

...