mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 21:07:03 +00:00
use the new protobuf package and other minor stuff
Former-commit-id: 29bf71e8a73d34b27c6f5fe3f12c4ea1cc2b84b2
This commit is contained in:
@@ -85,7 +85,7 @@ func TestOnAnyErrorCode(t *testing.T) {
|
||||
func checkAndClearBuf(t *testing.T, buff *bytes.Buffer, expected string) {
|
||||
t.Helper()
|
||||
|
||||
if got, expected := buff.String(), expected; got != expected {
|
||||
if got := buff.String(); got != expected {
|
||||
t.Fatalf("expected middleware to run before the error handler, expected: '%s' but got: '%s'", expected, got)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user