File tree Expand file tree Collapse file tree 8 files changed +14
-12
lines changed Expand file tree Collapse file tree 8 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ branches:
1111 - name : 2.x
1212
1313publications :
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
Original file line number Diff line number Diff line change @@ -26,10 +26,11 @@ Import any of these packages in your test code:
2626
2727``` go
2828import (
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
Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 1- module github.com/launchdarkly/go-test-helpers/v2
1+ module github.com/launchdarkly/go-test-helpers/v3
22
33go 1.18
44
Original file line number Diff line number Diff 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
1616func TestChunkedStreamingHandlerReturnsResponseBeforeFirstData (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ package jsonhelpers
33import (
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
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments