Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report assert errors as t.Error (#628)
Internal assert package returns booleans for allowing conditional behaviour but currently can't be used as `t.Fatal` is called suspending execution. It's also not safe for `t.Fatal` to be called outside of the main go routine running the test. Use `t.Error` to report errors instead.
- Loading branch information