Use import () way

Signed-off-by: xichengliudui <1693291525@qq.com>
pull/5306/head
xichengliudui 7 years ago
parent c99a3c676a
commit f2bf9d0a42

@ -16,10 +16,12 @@ limitations under the License.
package repo
import "testing"
import "io/ioutil"
import "os"
import "strings"
import (
"testing"
"io/ioutil"
"os"
"strings"
)
const testRepositoriesFile = "testdata/repositories.yaml"

@ -16,7 +16,9 @@ limitations under the License.
package urlutil
import "testing"
import (
"testing"
)
func TestUrlJoin(t *testing.T) {
tests := []struct {

@ -17,7 +17,9 @@ limitations under the License.
// Package version represents the current version of the project.
package version // import "k8s.io/helm/pkg/version"
import "testing"
import (
"testing"
)
func TestIsCompatible(t *testing.T) {
tests := []struct {

@ -17,8 +17,10 @@ limitations under the License.
// Package version represents the current version of the project.
package version // import "k8s.io/helm/pkg/version"
import "testing"
import "k8s.io/helm/pkg/proto/hapi/version"
import (
"testing"
"k8s.io/helm/pkg/proto/hapi/version"
)
func TestGetVersionProto(t *testing.T) {
tests := []struct {

Loading…
Cancel
Save