Skip to content

Commit

Permalink
Merge pull request #260 from AkihiroSuda/followup-259
Browse files Browse the repository at this point in the history
mv images_test.go pkg/imgutil/imgutil_test.go
  • Loading branch information
AkihiroSuda committed Jun 22, 2021
2 parents be14de9 + 35a4dab commit 39a4644
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions images_test.go → pkg/imgutil/imgutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
limitations under the License.
*/

package main
package imgutil

import (
"testing"

"github.com/containerd/nerdctl/pkg/imgutil"
"gotest.tools/v3/assert"
)

Expand Down Expand Up @@ -52,7 +51,7 @@ func TestParseRepoTag(t *testing.T) {
},
}
for _, tc := range testCases {
repo, tag := imgutil.ParseRepoTag(tc.imgName)
repo, tag := ParseRepoTag(tc.imgName)
assert.Equal(t, tc.repo, repo)
assert.Equal(t, tc.tag, tag)
}
Expand Down

0 comments on commit 39a4644

Please sign in to comment.