update imports for v2 module path

This commit is contained in:
Conor Nosal 2019-12-04 00:10:28 -05:00 committed by Mike Farah
parent 95fec2984e
commit 5fc13bdccd
9 changed files with 11 additions and 11 deletions

View File

@ -7,7 +7,7 @@ import (
"strings"
"testing"
"github.com/mikefarah/yq/test"
"github.com/mikefarah/yq/v2/test"
"github.com/spf13/cobra"
)

View File

@ -3,7 +3,7 @@ package marshal
import (
"testing"
"github.com/mikefarah/yq/test"
"github.com/mikefarah/yq/v2/test"
)
func TestJsonToString(t *testing.T) {

View File

@ -3,7 +3,7 @@ package marshal
import (
"testing"
"github.com/mikefarah/yq/test"
"github.com/mikefarah/yq/v2/test"
)
func TestYamlToString(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"sort"
"testing"
"github.com/mikefarah/yq/test"
"github.com/mikefarah/yq/v2/test"
logging "gopkg.in/op/go-logging.v1"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"testing"
"github.com/mikefarah/yq/test"
"github.com/mikefarah/yq/v2/test"
logging "gopkg.in/op/go-logging.v1"
)

View File

@ -3,7 +3,7 @@ package yqlib
import (
"testing"
"github.com/mikefarah/yq/test"
"github.com/mikefarah/yq/v2/test"
)
var parsePathsTests = []struct {

View File

@ -3,7 +3,7 @@ package yqlib
import (
"testing"
"github.com/mikefarah/yq/test"
"github.com/mikefarah/yq/v2/test"
)
var parseValueTests = []struct {

4
yq.go
View File

@ -10,8 +10,8 @@ import (
"strconv"
"strings"
"github.com/mikefarah/yq/pkg/marshal"
"github.com/mikefarah/yq/pkg/yqlib"
"github.com/mikefarah/yq/v2/pkg/marshal"
"github.com/mikefarah/yq/v2/pkg/yqlib"
errors "github.com/pkg/errors"

View File

@ -5,8 +5,8 @@ import (
"runtime"
"testing"
"github.com/mikefarah/yq/pkg/marshal"
"github.com/mikefarah/yq/test"
"github.com/mikefarah/yq/v2/pkg/marshal"
"github.com/mikefarah/yq/v2/test"
)
func TestMultilineString(t *testing.T) {