Skip to content

Commit 9365ba6

Browse files
committed
fix import path
1 parent 51a0b85 commit 9365ba6

File tree

8 files changed

+14
-12
lines changed

8 files changed

+14
-12
lines changed

.ldrelease/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ branches:
1111
- name: 2.x
1212

1313
publications:
14-
- url: https://pkg.go.dev/github.com/launchdarkly/go-test-helpers/v2
14+
- url: https://pkg.go.dev/github.com/launchdarkly/go-test-helpers/v3
1515
description: documentation

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ Import any of these packages in your test code:
2626

2727
```go
2828
import (
29-
"github.com/launchdarkly/go-test-helpers/v2"
30-
"github.com/launchdarkly/go-test-helpers/v2/httphelpers"
31-
"github.com/launchdarkly/go-test-helpers/v2/ldservices"
32-
"github.com/launchdarkly/go-test-helpers/v2/testbox"
29+
"github.com/launchdarkly/go-test-helpers/v3"
30+
"github.com/launchdarkly/go-test-helpers/v3/httphelpers"
31+
"github.com/launchdarkly/go-test-helpers/v3/jsonhelpers"
32+
"github.com/launchdarkly/go-test-helpers/v3/ldservices"
33+
"github.com/launchdarkly/go-test-helpers/v3/testbox"
3334
)
3435
```
3536

channels_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55
"time"
66

7-
"github.com/launchdarkly/go-test-helpers/v2/testbox"
7+
"github.com/launchdarkly/go-test-helpers/v3/testbox"
88

99
"github.com/stretchr/testify/assert"
1010
)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/launchdarkly/go-test-helpers/v2
1+
module github.com/launchdarkly/go-test-helpers/v3
22

33
go 1.18
44

httphelpers/handlers_streaming_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"testing"
88
"time"
99

10+
helpers "github.com/launchdarkly/go-test-helpers/v3"
11+
1012
"github.com/stretchr/testify/assert"
1113
"github.com/stretchr/testify/require"
12-
13-
helpers "github.com/launchdarkly/go-test-helpers/v2"
1414
)
1515

1616
func TestChunkedStreamingHandlerReturnsResponseBeforeFirstData(t *testing.T) {

jsonhelpers/assertions_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ package jsonhelpers
33
import (
44
"testing"
55

6-
"github.com/launchdarkly/go-test-helpers/v2/testbox"
6+
"github.com/launchdarkly/go-test-helpers/v3/testbox"
7+
78
"github.com/stretchr/testify/assert"
89
)
910

matchers/json.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"reflect"
88
"strings"
99

10-
"github.com/launchdarkly/go-test-helpers/v2/jsonhelpers"
10+
"github.com/launchdarkly/go-test-helpers/v3/jsonhelpers"
1111
)
1212

1313
// JSONEqual is similar to Equal but with richer behavior for JSON values.

matchers/value_formatting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"reflect"
77
"strings"
88

9-
"github.com/launchdarkly/go-test-helpers/v2/jsonhelpers"
9+
"github.com/launchdarkly/go-test-helpers/v3/jsonhelpers"
1010
)
1111

1212
// DescribeValue tries to create attractive string representations of values for test

0 commit comments

Comments
 (0)