Skip to content

Commit 43fcbc6

Browse files
committed
tidy-up go.mod and sum
Signed-off-by: Frederic BIDON <[email protected]>
1 parent 33903de commit 43fcbc6

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

assert/internal/unsafetests/unsafetests_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
"unsafe"
77

8-
"github.com/go-openapi/testify/assert"
8+
"github.com/go-openapi/testify/v2/assert"
99
)
1010

1111
type ignoreTestingT struct{}
@@ -14,7 +14,7 @@ var _ assert.TestingT = ignoreTestingT{}
1414

1515
func (ignoreTestingT) Helper() {}
1616

17-
func (ignoreTestingT) Errorf(format string, args ...interface{}) {
17+
func (ignoreTestingT) Errorf(format string, args ...any) {
1818
// Run the formatting, but ignore the result
1919
msg := fmt.Sprintf(format, args...)
2020
_ = msg

assert/yaml/yaml_default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You should enable a YAML library before running this test,
1919
e.g. by adding the following to your imports:
2020
2121
import (
22-
_ "github.com/go-openapi/testify/enable/yaml"
22+
_ "github.com/go-openapi/testify/v2/enable/yaml"
2323
)
2424
`,
2525
)

enable/yaml/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module github.com/go-openapi/testify/enable/yaml/v2
22

33
require (
4-
github.com/go-openapi/testify/v2 v2.0.0-00010101000000-000000000000
4+
github.com/go-openapi/testify/v2 v2.0.2
55
go.yaml.in/yaml/v3 v3.0.4
66
)
77

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ module github.com/go-openapi/testify/v2
33
retract v2.0.0
44

55
go 1.24.0
6-
7-
require github.com/go-openapi/testify v0.0.0-20251001202347-e909893202bd

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
github.com/go-openapi/testify v0.0.0-20251001202347-e909893202bd h1:+xqXbJEPxWM3YMAJ7yKV2FyqC/V/Dn8XggLC4tsMBXo=
2-
github.com/go-openapi/testify v0.0.0-20251001202347-e909893202bd/go.mod h1:Eo7DE2AKidl1U1diMDA05WiNks99vsR7HUun6G6Vob4=

package_test.go

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

9-
"github.com/go-openapi/testify/assert"
9+
"github.com/go-openapi/testify/v2/assert"
1010
)
1111

1212
func TestImports(t *testing.T) {

0 commit comments

Comments
 (0)