mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	chore(models): rewrite code format. (#14754)
* chore: rewrite format. * chore: update format Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * chore: update format Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * chore: Adjacent parameters with the same type should be grouped together * chore: update format.
This commit is contained in:
		@@ -55,7 +55,7 @@ func TestGetUserHeatmapDataByUser(t *testing.T) {
 | 
			
		||||
		assert.Equal(t, len(actions), len(heatmap), "invalid action count: did the test data became too old?")
 | 
			
		||||
		assert.Equal(t, tc.CountResult, len(heatmap), fmt.Sprintf("testcase %d", i))
 | 
			
		||||
 | 
			
		||||
		//Test JSON rendering
 | 
			
		||||
		// Test JSON rendering
 | 
			
		||||
		json := jsoniter.ConfigCompatibleWithStandardLibrary
 | 
			
		||||
		jsonData, err := json.Marshal(heatmap)
 | 
			
		||||
		assert.NoError(t, err)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user