mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Enable testifylint rules (#34075)
enable testifylint rules disabled in: https://github.com/go-gitea/gitea/pull/34054
This commit is contained in:
@@ -441,7 +441,7 @@ func TestPackageContainer(t *testing.T) {
|
||||
assert.Equal(t, "application/vnd.docker.image.rootfs.diff.tar.gzip", pfd.Properties.GetByName(container_module.PropertyMediaType))
|
||||
assert.Equal(t, blobDigest, pfd.Properties.GetByName(container_module.PropertyDigest))
|
||||
default:
|
||||
assert.FailNow(t, "unknown file: %s", pfd.File.Name)
|
||||
assert.FailNow(t, "unknown file", "unknown file: %s", pfd.File.Name)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user