Address code review comments; review unnecessary error check

This commit is contained in:
Priya Wadhwa
2018-09-17 11:11:51 +01:00
parent da6f099820
commit cd1b957e43
3 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -59,8 +59,8 @@ func Test_reviewConfig(t *testing.T) {
Cmd: test.originalCmd,
Entrypoint: test.originalEntrypoint,
}
err := reviewConfig(stage(t, test.dockerfile), config)
testutil.CheckErrorAndDeepEqual(t, false, err, test.expectedCmd, config.Cmd)
reviewConfig(stage(t, test.dockerfile), config)
testutil.CheckErrorAndDeepEqual(t, false, nil, test.expectedCmd, config.Cmd)
})
}
}