You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
326 B

  1. package assert
  2. import (
  3. "errors"
  4. )
  5. // AnError is an error instance useful for testing. If the code does not care
  6. // about error specifics, and only needs to return the error for example, this
  7. // error should be used to make the test code more readable.
  8. var AnError = errors.New("assert.AnError general error for testing")