Commit 15332e19
15332e19f2a3Merged
Anurag Agarwal <[email protected]> ยท 2 years ago ยท 1 file ยท ~1 modified
Description
Uses NoError instead of checking with nil
Details
- Commit
- 15332e19f2a3
- Parent
- e241009e8de5
pkg/release/dependency/graph_test.gomodifiedView file
@@ -139,7 +139,7 @@
139139
140140
s.Require().NoError(graph.Build())141141
graph, err := graph.Reverse()142-
s.Require().Nil(err)142+
s.Require().NoError(err)143143
144144
ch := graph.Run()145145
@@ -180,7 +180,7 @@
180180
181181
s.Require().NoError(graph.Build())182182
graph, err := graph.Reverse()183-
s.Require().Nil(err)183+
s.Require().NoError(err)184184
185185
ch := graph.Run()186186