Skip to content
Myr

chore: fix debug test error (#1574)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by 田欧 · committed by Bo-Yi Wu · parent 402ef12 · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:debug_test.go+1 added-2 removed
88 unmodified lines
89 debugPrintWARNINGDefault()90 SetMode(TestMode)91 })92 m, e := getMinVer(runtime.Version())93 assert.Nil(t, e)94 if m <= ginSupportMinGoVer {93 if e == nil && m <= ginSupportMinGoVer {94 assert.Equal(t, "[GIN-debug] [WARNING] Now Gin requires Go 1.6 or later and Go 1.7 will be required soon.\n\n[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.\n\n", re)95 } else {96 assert.Equal(t, "[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.\n\n", re)97 }
55 unmodified lines