We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b6b7ed commit 4b509b9Copy full SHA for 4b509b9
internal/commands/scan_test.go
@@ -1808,7 +1808,11 @@ func TestAddContainersScan_WithCustomImages_ShouldSetUserCustomImages(t *testing
1808
}()
1809
1810
// Execute
1811
- result := addContainersScan(cmdCommand, resubmitConfig)
+ result, err := addContainersScan(cmdCommand, resubmitConfig)
1812
+
1813
+ // Verify no error occurred
1814
+ assert.NilError(t, err)
1815
+ assert.Assert(t, result != nil, "Expected result to not be nil")
1816
1817
// Verify
1818
containerMapConfig, ok := result[resultsMapValue].(*wrappers.ContainerConfig)
0 commit comments