Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed May 4, 2020
1 parent d37896b commit ee097f9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/executor/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,7 @@ func Test_stageBuilder_shouldTakeSnapshot(t *testing.T) {
{
name: "not final stage not last command but empty list of files",
fields: fields{
stage: config.KanikoStage{
Final: false,
Stage: stage,
},
stage: config.KanikoStage{},
},
args: args{
index: 0,
Expand All @@ -172,7 +169,6 @@ func Test_stageBuilder_shouldTakeSnapshot(t *testing.T) {
fields: fields{
stage: config.KanikoStage{
Final: false,
Stage: stage,
},
},
args: args{
Expand Down

0 comments on commit ee097f9

Please sign in to comment.