浏览代码

Removes debug code in unit tests

Manu Mtz-Almeida 10 年之前
父节点
当前提交
704d690ac0
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      gin_integration_test.go

+ 0 - 1
gin_integration_test.go

@@ -25,7 +25,6 @@ func testRequest(t *testing.T, url string) {
 }
 }
 
 
 func TestRunEmpty(t *testing.T) {
 func TestRunEmpty(t *testing.T) {
-	SetMode(DebugMode)
 	os.Setenv("PORT", "")
 	os.Setenv("PORT", "")
 	router := New()
 	router := New()
 	go func() {
 	go func() {