mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Use more specific test methods (#24265)
Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		| @@ -25,7 +25,7 @@ func TestSplitString(t *testing.T) { | ||||
| 				assert.Equal(t, c.ellipsis+c.input[len(c.leftSub):], r, "test split %s at %d, expected rightSub: %q", c.input, c.n, c.input[len(c.leftSub):]) | ||||
| 			} else { | ||||
| 				assert.Equal(t, c.leftSub, l, "test split %q at %d, expected leftSub: %q", c.input, c.n, c.leftSub) | ||||
| 				assert.Equal(t, "", r, "test split %q at %d, expected rightSub: %q", c.input, c.n, "") | ||||
| 				assert.Empty(t, r, "test split %q at %d, expected rightSub: %q", c.input, c.n, "") | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user