add go version prerequisite and debug warning (#1394)
* add go version prerequisite and debug warning * merge duplicate content * remove duplicate content
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ func TestDebugPrintWARNINGDefault(t *testing.T) {
|
||||
defer teardown()
|
||||
|
||||
debugPrintWARNINGDefault()
|
||||
assert.Equal(t, "[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.\n\n", w.String())
|
||||
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", w.String())
|
||||
}
|
||||
|
||||
func TestDebugPrintWARNINGNew(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user