refactor(struct): Remove redundant type conversions (#3345)
This commit is contained in:
		@ -173,7 +173,7 @@ func TestRenderAsciiJSON(t *testing.T) {
 | 
			
		||||
	assert.Equal(t, "application/json", w1.Header().Get("Content-Type"))
 | 
			
		||||
 | 
			
		||||
	w2 := httptest.NewRecorder()
 | 
			
		||||
	data2 := float64(3.1415926)
 | 
			
		||||
	data2 := 3.1415926
 | 
			
		||||
 | 
			
		||||
	err = (AsciiJSON{data2}).Render(w2)
 | 
			
		||||
	assert.NoError(t, err)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user