Skip to content

Commit 39a4644

Browse files
authored
Merge pull request #260 from AkihiroSuda/followup-259
mv images_test.go pkg/imgutil/imgutil_test.go
2 parents be14de9 + 35a4dab commit 39a4644

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

images_test.go renamed to pkg/imgutil/imgutil_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
limitations under the License.
1515
*/
1616

17-
package main
17+
package imgutil
1818

1919
import (
2020
"testing"
2121

22-
"github.com/containerd/nerdctl/pkg/imgutil"
2322
"gotest.tools/v3/assert"
2423
)
2524

@@ -52,7 +51,7 @@ func TestParseRepoTag(t *testing.T) {
5251
},
5352
}
5453
for _, tc := range testCases {
55-
repo, tag := imgutil.ParseRepoTag(tc.imgName)
54+
repo, tag := ParseRepoTag(tc.imgName)
5655
assert.Equal(t, tc.repo, repo)
5756
assert.Equal(t, tc.tag, tag)
5857
}

0 commit comments

Comments
 (0)