mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-14 07:08:06 +00:00
update imports for v2 module path
This commit is contained in:
parent
95fec2984e
commit
5fc13bdccd
@ -7,7 +7,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/test"
|
"github.com/mikefarah/yq/v2/test"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package marshal
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/test"
|
"github.com/mikefarah/yq/v2/test"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestJsonToString(t *testing.T) {
|
func TestJsonToString(t *testing.T) {
|
||||||
|
@ -3,7 +3,7 @@ package marshal
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/test"
|
"github.com/mikefarah/yq/v2/test"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestYamlToString(t *testing.T) {
|
func TestYamlToString(t *testing.T) {
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/test"
|
"github.com/mikefarah/yq/v2/test"
|
||||||
logging "gopkg.in/op/go-logging.v1"
|
logging "gopkg.in/op/go-logging.v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/test"
|
"github.com/mikefarah/yq/v2/test"
|
||||||
logging "gopkg.in/op/go-logging.v1"
|
logging "gopkg.in/op/go-logging.v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package yqlib
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/test"
|
"github.com/mikefarah/yq/v2/test"
|
||||||
)
|
)
|
||||||
|
|
||||||
var parsePathsTests = []struct {
|
var parsePathsTests = []struct {
|
||||||
|
@ -3,7 +3,7 @@ package yqlib
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/test"
|
"github.com/mikefarah/yq/v2/test"
|
||||||
)
|
)
|
||||||
|
|
||||||
var parseValueTests = []struct {
|
var parseValueTests = []struct {
|
||||||
|
4
yq.go
4
yq.go
@ -10,8 +10,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/pkg/marshal"
|
"github.com/mikefarah/yq/v2/pkg/marshal"
|
||||||
"github.com/mikefarah/yq/pkg/yqlib"
|
"github.com/mikefarah/yq/v2/pkg/yqlib"
|
||||||
|
|
||||||
errors "github.com/pkg/errors"
|
errors "github.com/pkg/errors"
|
||||||
|
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"runtime"
|
"runtime"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikefarah/yq/pkg/marshal"
|
"github.com/mikefarah/yq/v2/pkg/marshal"
|
||||||
"github.com/mikefarah/yq/test"
|
"github.com/mikefarah/yq/v2/test"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMultilineString(t *testing.T) {
|
func TestMultilineString(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user