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:
parent
68e645c0c3
commit
78879b3fae
1 changed files with 1 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue