0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-04-17 16:32:35 +00:00

chore: fix wording and remove unnecessary comments

This commit is contained in:
CrazyMax 2023-09-16 16:58:28 +02:00
parent 68e645c0c3
commit 78879b3fae
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -20,9 +20,8 @@ func TestValidateImage(t *testing.T) {
expectedImage model.Image
expectedErr interface{}
}{
// Test strip sha
{
name: "Test strip sha",
name: "Test strip digest",
image: "myimg@sha256:1234567890abcdef",
watchByDef: true,
expectedImage: model.Image{
@ -30,7 +29,6 @@ func TestValidateImage(t *testing.T) {
},
expectedErr: nil,
},
// Test enable and watch by default
{
name: "All excluded by default",
image: "myimg",