We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents be14de9 + 35a4dab commit 39a4644Copy full SHA for 39a4644
1 file changed
images_test.go pkg/imgutil/imgutil_test.goimages_test.go renamed to pkg/imgutil/imgutil_test.go
@@ -14,12 +14,11 @@
14
limitations under the License.
15
*/
16
17
-package main
+package imgutil
18
19
import (
20
"testing"
21
22
- "github.com/containerd/nerdctl/pkg/imgutil"
23
"gotest.tools/v3/assert"
24
)
25
@@ -52,7 +51,7 @@ func TestParseRepoTag(t *testing.T) {
52
51
},
53
}
54
for _, tc := range testCases {
55
- repo, tag := imgutil.ParseRepoTag(tc.imgName)
+ repo, tag := ParseRepoTag(tc.imgName)
56
assert.Equal(t, tc.repo, repo)
57
assert.Equal(t, tc.tag, tag)
58
0 commit comments