Fix formatting
This commit is contained in:
parent
4e819f1b3c
commit
b13ac5fcbf
|
@ -79,7 +79,7 @@ func TestComparePatchAndDiffMenuEntries(t *testing.T) {
|
|||
|
||||
var patchDownloadEntryPresent bool
|
||||
var diffDownloadEntryPresent bool
|
||||
downloadOptions.Each(func (idx int, c *goquery.Selection) {
|
||||
downloadOptions.Each(func(idx int, c *goquery.Selection) {
|
||||
value, exists := c.Attr("download")
|
||||
if exists && strings.HasSuffix(value, ".patch") {
|
||||
patchDownloadEntryPresent = true
|
||||
|
@ -88,7 +88,6 @@ func TestComparePatchAndDiffMenuEntries(t *testing.T) {
|
|||
if exists && strings.HasSuffix(value, ".diff") {
|
||||
diffDownloadEntryPresent = true
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
assert.True(t, patchDownloadEntryPresent, "Patch file download entry should be present")
|
||||
|
@ -139,7 +138,6 @@ index 0000000..e69de29`
|
|||
// assert.True(t, diffDownloadEntryPresent, "Diff file download entry should be present")
|
||||
}
|
||||
|
||||
|
||||
// Git commit graph for repo20
|
||||
// * 8babce9 (origin/remove-files-b) Add a dummy file
|
||||
// * b67e43a Delete test.csv and link_hi
|
||||
|
|
Loading…
Reference in New Issue