mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Upgrade to golangci-lint@v1.55.0 (#27756)
https://github.com/golangci/golangci-lint/releases/tag/v1.55.0
This commit is contained in:
		@@ -419,9 +419,8 @@ func logUnexpectedResponse(t testing.TB, recorder *httptest.ResponseRecorder) {
 | 
			
		||||
		// if body is short, just log the whole thing
 | 
			
		||||
		t.Log("Response: ", string(respBytes))
 | 
			
		||||
		return
 | 
			
		||||
	} else {
 | 
			
		||||
		t.Log("Response length: ", len(respBytes))
 | 
			
		||||
	}
 | 
			
		||||
	t.Log("Response length: ", len(respBytes))
 | 
			
		||||
 | 
			
		||||
	// log the "flash" error message, if one exists
 | 
			
		||||
	// we must create a new buffer, so that we don't "use up" resp.Body
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user