[ Cmii ] [ Octopus ] - 实际项目
This commit is contained in:
@@ -117,7 +117,7 @@ func TestImageSaveToTarGZ(t *testing.T) {
|
||||
assert.Equal(t, imageSaveToTarGZ, true, "image save to tar gz file error !")
|
||||
}
|
||||
|
||||
func TestConvertImageGzipFileName(t *testing.T) {
|
||||
func TestImageFullNameToGzipFileName(t *testing.T) {
|
||||
|
||||
test := []string{
|
||||
"bitnami/redis:6.2.6-debian-10-r0",
|
||||
@@ -132,7 +132,7 @@ func TestConvertImageGzipFileName(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, s := range test {
|
||||
gzipFileName := convertImageGzipFileName(s)
|
||||
gzipFileName := ImageFullNameToGzipFileName(s)
|
||||
fmt.Printf(" %s to %s \n", s, gzipFileName)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user