mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
update imports for v2 module path
This commit is contained in:
parent
95fec2984e
commit
5fc13bdccd
@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/mikefarah/yq/test"
|
||||
"github.com/mikefarah/yq/v2/test"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ package marshal
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mikefarah/yq/test"
|
||||
"github.com/mikefarah/yq/v2/test"
|
||||
)
|
||||
|
||||
func TestJsonToString(t *testing.T) {
|
||||
|
@ -3,7 +3,7 @@ package marshal
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mikefarah/yq/test"
|
||||
"github.com/mikefarah/yq/v2/test"
|
||||
)
|
||||
|
||||
func TestYamlToString(t *testing.T) {
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ package yqlib
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mikefarah/yq/test"
|
||||
"github.com/mikefarah/yq/v2/test"
|
||||
)
|
||||
|
||||
var parsePathsTests = []struct {
|
||||
|
@ -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
4
yq.go
@ -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"
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user