Closed rogpeppe closed 5 years ago
If we do c.Assert(err, qt.ErrorMatches, pattern) and err is nil, we want the resulting failure to print the expected error message pattern, not that it's a bad check.
c.Assert(err, qt.ErrorMatches, pattern)
If we do
c.Assert(err, qt.ErrorMatches, pattern)
and err is nil, we want the resulting failure to print the expected error message pattern, not that it's a bad check.