diff --git a/all-docs.md b/all-docs.md deleted file mode 100644 index 5306f1795..000000000 --- a/all-docs.md +++ /dev/null @@ -1,70 +0,0 @@ -# Documentation map - -## internals - -* ./hack/doc-site/hugo/README.md -* ./internal/difflib/README.md -* ./internal/spew/README.md -* ./internal/testintegration/README.md - -## repo - -* [x] ./README.md -* [x] ./CONTRIBUTORS.md -* [x] ./.github/CONTRIBUTING.md -* [x] ./.github/DCO.md -* [x] ./CODE_OF_CONDUCT.md -* [x] ./SECURITY.md - -## site - -### API docs (generated) - -* ./docs/doc-site/api/yaml.md -* ./docs/doc-site/api/number.md -* ./docs/doc-site/api/_index.md -* ./docs/doc-site/api/panic.md -* ./docs/doc-site/api/string.md -* ./docs/doc-site/api/equality.md -* ./docs/doc-site/api/file.md -* ./docs/doc-site/api/boolean.md -* ./docs/doc-site/api/common.md -* ./docs/doc-site/api/ordering.md -* ./docs/doc-site/api/json.md -* ./docs/doc-site/api/collection.md -* ./docs/doc-site/api/time.md -* ./docs/doc-site/api/comparison.md -* ./docs/doc-site/api/error.md -* ./docs/doc-site/api/testing.md -* ./docs/doc-site/api/type.md -* ./docs/doc-site/api/http.md -* ./docs/doc-site/api/condition.md - -### project docs - -* [x] ./docs/doc-site/_index.md - -* [x] ./docs/doc-site/usage/_index.md -* ./docs/doc-site/usage/TUTORIAL.md -* ./docs/doc-site/usage/EXAMPLES.md -* ./docs/doc-site/usage/GENERICS.md -* [x] ./docs/doc-site/usage/CHANGES.md - -* [x] ./docs/doc-site/project/_index.md -* [x] ./docs/doc-site/project/LICENSE.md -* [x] ./docs/doc-site/project/NOTICE.md -* [x] ./docs/doc-site/project/maintainers/_index.md -* [x] ./docs/doc-site/project/maintainers/MAINTAINERS.md -* ./docs/doc-site/project/maintainers/ARCHITECTURE.md -* ./docs/doc-site/project/maintainers/CODEGEN.md -* [x] ./docs/doc-site/project/maintainers/BENCHMARKS.md -* [x] ./docs/doc-site/project/maintainers/ROADMAP.md -* ./docs/doc-site/project/maintainers/ORIGINAL.md -* ./docs/doc-site/project/README.md -* [x] ./docs/doc-site/project/SECURITY.md -* ./docs/doc-site/project/contributing/STYLE.md -* [x] ./docs/doc-site/project/contributing/CONTRIBUTING.md -* [x] ./docs/doc-site/project/contributing/_index.md -* [x] ./docs/doc-site/project/contributing/CONTRIBUTORS.md -* [x] ./docs/doc-site/project/contributing/DCO.md -* [x] ./docs/doc-site/project/contributing/CODE_OF_CONDUCT.md diff --git a/assert/assert_assertions.go b/assert/assert_assertions.go index e8ae550d8..c9a87f40b 100644 --- a/assert/assert_assertions.go +++ b/assert/assert_assertions.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert @@ -214,8 +214,11 @@ func EqualError(t T, err error, errString string, msgAndArgs ...any) bool { } // EqualExportedValues asserts that the types of two objects are equal and their public -// fields are also equal. This is useful for comparing structs that have private fields -// that could potentially differ. +// fields are also equal. +// +// This is useful for comparing structs that have private fields that could potentially differ. +// +// Function equality cannot be determined and will always fail. // // # Usage // @@ -270,6 +273,8 @@ func EqualT[V comparable](t T, expected V, actual V, msgAndArgs ...any) bool { // EqualValues asserts that two objects are equal or convertible to the larger // type and equal. // +// Function equality cannot be determined and will always fail. +// // # Usage // // assertions.EqualValues(t, uint32(123), int32(123)) @@ -1097,11 +1102,11 @@ func InEpsilonT[Number Measurable](t T, expected Number, actual Number, epsilon // failure: []int{1, 2, 3} // // Upon failure, the test [T] is marked as failed and continues execution. -func IsDecreasing(t T, object any, msgAndArgs ...any) bool { +func IsDecreasing(t T, collection any, msgAndArgs ...any) bool { if h, ok := t.(H); ok { h.Helper() } - return assertions.IsDecreasing(t, object, msgAndArgs...) + return assertions.IsDecreasing(t, collection, msgAndArgs...) } // IsDecreasingT asserts that a slice of [Ordered] is strictly decreasing. @@ -1139,11 +1144,11 @@ func IsDecreasingT[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice, m // failure: []int{1, 1, 2} // // Upon failure, the test [T] is marked as failed and continues execution. -func IsIncreasing(t T, object any, msgAndArgs ...any) bool { +func IsIncreasing(t T, collection any, msgAndArgs ...any) bool { if h, ok := t.(H); ok { h.Helper() } - return assertions.IsIncreasing(t, object, msgAndArgs...) + return assertions.IsIncreasing(t, collection, msgAndArgs...) } // IsIncreasingT asserts that a slice of [Ordered] is strictly increasing. @@ -1181,11 +1186,11 @@ func IsIncreasingT[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice, m // failure: []int{2, 1, 0} // // Upon failure, the test [T] is marked as failed and continues execution. -func IsNonDecreasing(t T, object any, msgAndArgs ...any) bool { +func IsNonDecreasing(t T, collection any, msgAndArgs ...any) bool { if h, ok := t.(H); ok { h.Helper() } - return assertions.IsNonDecreasing(t, object, msgAndArgs...) + return assertions.IsNonDecreasing(t, collection, msgAndArgs...) } // IsNonDecreasingT asserts that a slice of [Ordered] is not decreasing. @@ -1223,11 +1228,11 @@ func IsNonDecreasingT[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice // failure: []int{1, 2, 3} // // Upon failure, the test [T] is marked as failed and continues execution. -func IsNonIncreasing(t T, object any, msgAndArgs ...any) bool { +func IsNonIncreasing(t T, collection any, msgAndArgs ...any) bool { if h, ok := t.(H); ok { h.Helper() } - return assertions.IsNonIncreasing(t, object, msgAndArgs...) + return assertions.IsNonIncreasing(t, collection, msgAndArgs...) } // IsNonIncreasingT asserts that a slice of [Ordered] is NOT strictly increasing. @@ -1801,6 +1806,8 @@ func NotEmpty(t T, object any, msgAndArgs ...any) bool { // Pointer variable equality is determined based on the equality of the // referenced values (as opposed to the memory addresses). // +// Function equality cannot be determined and will always fail. +// // # Examples // // success: 123, 456 @@ -1837,6 +1844,8 @@ func NotEqualT[V comparable](t T, expected V, actual V, msgAndArgs ...any) bool // NotEqualValues asserts that two objects are not equal even when converted to the same type. // +// Function equality cannot be determined and will always fail. +// // # Usage // // assertions.NotEqualValues(t, obj1, obj2) @@ -2020,8 +2029,7 @@ func NotRegexpT[Rex RegExp, ADoc Text](t T, rx Rex, actual ADoc, msgAndArgs ...a // NotSame asserts that two pointers do not reference the same object. // -// Both arguments must be pointer variables. Pointer variable sameness is -// determined based on the equality of both type and value. +// See [Same]. // // # Usage // @@ -2042,7 +2050,7 @@ func NotSame(t T, expected any, actual any, msgAndArgs ...any) bool { // NotSameT asserts that two pointers do not reference the same object. // -// See [SameT] +// See [SameT]. // // # Usage // @@ -2273,8 +2281,11 @@ func RegexpT[Rex RegExp, ADoc Text](t T, rx Rex, actual ADoc, msgAndArgs ...any) // Same asserts that two pointers reference the same object. // -// Both arguments must be pointer variables. Pointer variable sameness is -// determined based on the equality of both type and value. +// Both arguments must be pointer variables. +// +// Pointer variable sameness is determined based on the equality of both type and value. +// +// Unlike [Equal] pointers, [Same] pointers point to the same memory address. // // # Usage // @@ -2295,6 +2306,8 @@ func Same(t T, expected any, actual any, msgAndArgs ...any) bool { // SameT asserts that two pointers of the same type reference the same object. // +// See [Same]. +// // # Usage // // assertions.SameT(t, ptr1, ptr2) diff --git a/assert/assert_assertions_test.go b/assert/assert_assertions_test.go index 837bae922..602246d65 100644 --- a/assert/assert_assertions_test.go +++ b/assert/assert_assertions_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert diff --git a/assert/assert_examples_test.go b/assert/assert_examples_test.go index 01b2b842c..c6b4b9c30 100644 --- a/assert/assert_examples_test.go +++ b/assert/assert_examples_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert_test diff --git a/assert/assert_format.go b/assert/assert_format.go index f5295aead..e653eb4e2 100644 --- a/assert/assert_format.go +++ b/assert/assert_format.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert @@ -469,11 +469,11 @@ func InEpsilonTf[Number Measurable](t T, expected Number, actual Number, epsilon // IsDecreasingf is the same as [IsDecreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and continues execution. -func IsDecreasingf(t T, object any, msg string, args ...any) bool { +func IsDecreasingf(t T, collection any, msg string, args ...any) bool { if h, ok := t.(H); ok { h.Helper() } - return assertions.IsDecreasing(t, object, forwardArgs(msg, args)) + return assertions.IsDecreasing(t, collection, forwardArgs(msg, args)) } // IsDecreasingTf is the same as [IsDecreasingT], but it accepts a format msg string to format arguments like [fmt.Printf]. @@ -489,11 +489,11 @@ func IsDecreasingTf[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice, // IsIncreasingf is the same as [IsIncreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and continues execution. -func IsIncreasingf(t T, object any, msg string, args ...any) bool { +func IsIncreasingf(t T, collection any, msg string, args ...any) bool { if h, ok := t.(H); ok { h.Helper() } - return assertions.IsIncreasing(t, object, forwardArgs(msg, args)) + return assertions.IsIncreasing(t, collection, forwardArgs(msg, args)) } // IsIncreasingTf is the same as [IsIncreasingT], but it accepts a format msg string to format arguments like [fmt.Printf]. @@ -509,11 +509,11 @@ func IsIncreasingTf[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice, // IsNonDecreasingf is the same as [IsNonDecreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and continues execution. -func IsNonDecreasingf(t T, object any, msg string, args ...any) bool { +func IsNonDecreasingf(t T, collection any, msg string, args ...any) bool { if h, ok := t.(H); ok { h.Helper() } - return assertions.IsNonDecreasing(t, object, forwardArgs(msg, args)) + return assertions.IsNonDecreasing(t, collection, forwardArgs(msg, args)) } // IsNonDecreasingTf is the same as [IsNonDecreasingT], but it accepts a format msg string to format arguments like [fmt.Printf]. @@ -529,11 +529,11 @@ func IsNonDecreasingTf[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlic // IsNonIncreasingf is the same as [IsNonIncreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and continues execution. -func IsNonIncreasingf(t T, object any, msg string, args ...any) bool { +func IsNonIncreasingf(t T, collection any, msg string, args ...any) bool { if h, ok := t.(H); ok { h.Helper() } - return assertions.IsNonIncreasing(t, object, forwardArgs(msg, args)) + return assertions.IsNonIncreasing(t, collection, forwardArgs(msg, args)) } // IsNonIncreasingTf is the same as [IsNonIncreasingT], but it accepts a format msg string to format arguments like [fmt.Printf]. diff --git a/assert/assert_format_test.go b/assert/assert_format_test.go index 781a9ffab..d7508b94c 100644 --- a/assert/assert_format_test.go +++ b/assert/assert_format_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert diff --git a/assert/assert_forward.go b/assert/assert_forward.go index 47acb10b5..f8727e04f 100644 --- a/assert/assert_forward.go +++ b/assert/assert_forward.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert @@ -794,81 +794,81 @@ func (a *Assertions) InEpsilonSlicef(expected any, actual any, epsilon float64, // IsDecreasing is the same as [IsDecreasing], as a method rather than a package-level function. // // Upon failure, the test [T] is marked as failed and continues execution. -func (a *Assertions) IsDecreasing(object any, msgAndArgs ...any) bool { +func (a *Assertions) IsDecreasing(collection any, msgAndArgs ...any) bool { if h, ok := a.t.(H); ok { h.Helper() } - return assertions.IsDecreasing(a.t, object, msgAndArgs...) + return assertions.IsDecreasing(a.t, collection, msgAndArgs...) } // IsDecreasingf is the same as [Assertions.IsDecreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and continues execution. -func (a *Assertions) IsDecreasingf(object any, msg string, args ...any) bool { +func (a *Assertions) IsDecreasingf(collection any, msg string, args ...any) bool { if h, ok := a.t.(H); ok { h.Helper() } - return assertions.IsDecreasing(a.t, object, forwardArgs(msg, args)) + return assertions.IsDecreasing(a.t, collection, forwardArgs(msg, args)) } // IsIncreasing is the same as [IsIncreasing], as a method rather than a package-level function. // // Upon failure, the test [T] is marked as failed and continues execution. -func (a *Assertions) IsIncreasing(object any, msgAndArgs ...any) bool { +func (a *Assertions) IsIncreasing(collection any, msgAndArgs ...any) bool { if h, ok := a.t.(H); ok { h.Helper() } - return assertions.IsIncreasing(a.t, object, msgAndArgs...) + return assertions.IsIncreasing(a.t, collection, msgAndArgs...) } // IsIncreasingf is the same as [Assertions.IsIncreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and continues execution. -func (a *Assertions) IsIncreasingf(object any, msg string, args ...any) bool { +func (a *Assertions) IsIncreasingf(collection any, msg string, args ...any) bool { if h, ok := a.t.(H); ok { h.Helper() } - return assertions.IsIncreasing(a.t, object, forwardArgs(msg, args)) + return assertions.IsIncreasing(a.t, collection, forwardArgs(msg, args)) } // IsNonDecreasing is the same as [IsNonDecreasing], as a method rather than a package-level function. // // Upon failure, the test [T] is marked as failed and continues execution. -func (a *Assertions) IsNonDecreasing(object any, msgAndArgs ...any) bool { +func (a *Assertions) IsNonDecreasing(collection any, msgAndArgs ...any) bool { if h, ok := a.t.(H); ok { h.Helper() } - return assertions.IsNonDecreasing(a.t, object, msgAndArgs...) + return assertions.IsNonDecreasing(a.t, collection, msgAndArgs...) } // IsNonDecreasingf is the same as [Assertions.IsNonDecreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and continues execution. -func (a *Assertions) IsNonDecreasingf(object any, msg string, args ...any) bool { +func (a *Assertions) IsNonDecreasingf(collection any, msg string, args ...any) bool { if h, ok := a.t.(H); ok { h.Helper() } - return assertions.IsNonDecreasing(a.t, object, forwardArgs(msg, args)) + return assertions.IsNonDecreasing(a.t, collection, forwardArgs(msg, args)) } // IsNonIncreasing is the same as [IsNonIncreasing], as a method rather than a package-level function. // // Upon failure, the test [T] is marked as failed and continues execution. -func (a *Assertions) IsNonIncreasing(object any, msgAndArgs ...any) bool { +func (a *Assertions) IsNonIncreasing(collection any, msgAndArgs ...any) bool { if h, ok := a.t.(H); ok { h.Helper() } - return assertions.IsNonIncreasing(a.t, object, msgAndArgs...) + return assertions.IsNonIncreasing(a.t, collection, msgAndArgs...) } // IsNonIncreasingf is the same as [Assertions.IsNonIncreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and continues execution. -func (a *Assertions) IsNonIncreasingf(object any, msg string, args ...any) bool { +func (a *Assertions) IsNonIncreasingf(collection any, msg string, args ...any) bool { if h, ok := a.t.(H); ok { h.Helper() } - return assertions.IsNonIncreasing(a.t, object, forwardArgs(msg, args)) + return assertions.IsNonIncreasing(a.t, collection, forwardArgs(msg, args)) } // IsNotType is the same as [IsNotType], as a method rather than a package-level function. diff --git a/assert/assert_forward_test.go b/assert/assert_forward_test.go index ef4a0de14..970d9a016 100644 --- a/assert/assert_forward_test.go +++ b/assert/assert_forward_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert diff --git a/assert/assert_helpers.go b/assert/assert_helpers.go index 5c1f0b295..c3617b6bb 100644 --- a/assert/assert_helpers.go +++ b/assert/assert_helpers.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert diff --git a/assert/assert_helpers_test.go b/assert/assert_helpers_test.go index a7c3c33e0..b87a7b7fb 100644 --- a/assert/assert_helpers_test.go +++ b/assert/assert_helpers_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert diff --git a/assert/assert_types.go b/assert/assert_types.go index bcf6fcccf..a73eecd47 100644 --- a/assert/assert_types.go +++ b/assert/assert_types.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package assert diff --git a/codegen/go.mod b/codegen/go.mod index eb4b3f6e7..3a7a506ed 100644 --- a/codegen/go.mod +++ b/codegen/go.mod @@ -5,7 +5,6 @@ go 1.24.0 toolchain go1.25.0 require ( - github.com/davecgh/go-spew v1.1.1 golang.org/x/text v0.32.0 golang.org/x/tools v0.40.0 ) diff --git a/codegen/go.sum b/codegen/go.sum index 0db39fb38..efb77b22c 100644 --- a/codegen/go.sum +++ b/codegen/go.sum @@ -1,5 +1,3 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= golang.org/x/mod v0.31.0 h1:HaW9xtz0+kOcWKwli0ZXy79Ix+UW/vOfmWI5QVd2tgI= diff --git a/docs/doc-site/api/_index.md b/docs/doc-site/api/_index.md index 091bfcb19..d6fcd20c4 100644 --- a/docs/doc-site/api/_index.md +++ b/docs/doc-site/api/_index.md @@ -6,10 +6,10 @@ description: | Find the assertion function you need for your data. weight: 1 -modified: 2026-01-20 +modified: 2026-01-24 --- -**Go testing assertions for the rest of us** +**The v2 our tests wanted** The [`testify/v2`][testifyv2] package has a fairly large API surface. @@ -25,7 +25,7 @@ with all documented exported variants documented in a more concise form than the ## Domains -The `testify` API is organized in 18 domains shown below. +The `testify` API is organized in 18 logical domains shown below. Each domain contains assertions regrouped by their use case (e.g. http, json, error). {{< children type="card" description="true" >}} @@ -53,16 +53,6 @@ Each domain contains assertions regrouped by their use case (e.g. http, json, er --- -## See Also - -- [Usage Guide](../usage/USAGE.md) - API conventions, naming patterns, and how to navigate assertions -- [Examples](../usage/EXAMPLES.md) - Practical examples showing how to use these assertions -- [Generics Guide](../usage/GENERICS.md) - Type-safe variants of assertions (marked with {{% icon icon="star" color=orange %}}) -- [Tutorial](../usage/TUTORIAL.md) - Best practices for writing tests with testify -- [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/testify/v2) - Full API reference documentation - ---- - Generated with github.com/go-openapi/testify/codegen/v2 [godoc-badge]: https://pkg.go.dev/badge/github.com/go-openapi/testify/v2 @@ -77,5 +67,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/boolean.md b/docs/doc-site/api/boolean.md index 64fb03a32..4eac1bd10 100644 --- a/docs/doc-site/api/boolean.md +++ b/docs/doc-site/api/boolean.md @@ -1,7 +1,7 @@ --- title: "Boolean" description: "Asserting Boolean Values" -modified: 2026-01-20 +modified: 2026-01-24 weight: 1 domains: - "boolean" @@ -235,5 +235,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/collection.md b/docs/doc-site/api/collection.md index 1f0a706d7..39cf4e77a 100644 --- a/docs/doc-site/api/collection.md +++ b/docs/doc-site/api/collection.md @@ -1,7 +1,7 @@ --- title: "Collection" description: "Asserting Slices And Maps" -modified: 2026-01-20 +modified: 2026-01-24 weight: 2 domains: - "collection" @@ -989,5 +989,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/common.md b/docs/doc-site/api/common.md index 3d6054584..820dc0309 100644 --- a/docs/doc-site/api/common.md +++ b/docs/doc-site/api/common.md @@ -1,7 +1,7 @@ --- title: "Common" description: "Other Uncategorized Helpers" -modified: 2026-01-20 +modified: 2026-01-24 weight: 18 domains: - "common" @@ -160,5 +160,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/comparison.md b/docs/doc-site/api/comparison.md index 190d45889..2dfa09bf6 100644 --- a/docs/doc-site/api/comparison.md +++ b/docs/doc-site/api/comparison.md @@ -1,7 +1,7 @@ --- title: "Comparison" description: "Comparing Ordered Values" -modified: 2026-01-20 +modified: 2026-01-24 weight: 3 domains: - "comparison" @@ -689,5 +689,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/condition.md b/docs/doc-site/api/condition.md index 3a2576b6f..74c2dd1ca 100644 --- a/docs/doc-site/api/condition.md +++ b/docs/doc-site/api/condition.md @@ -1,7 +1,7 @@ --- title: "Condition" description: "Expressing Assertions Using Conditions" -modified: 2026-01-20 +modified: 2026-01-24 weight: 4 domains: - "condition" @@ -294,5 +294,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/equality.md b/docs/doc-site/api/equality.md index 6983d8f66..912b288c1 100644 --- a/docs/doc-site/api/equality.md +++ b/docs/doc-site/api/equality.md @@ -1,7 +1,7 @@ --- title: "Equality" description: "Asserting Two Things Are Equal" -modified: 2026-01-20 +modified: 2026-01-24 weight: 5 domains: - "equality" @@ -124,7 +124,7 @@ Pointer values are "empty" if the pointer is nil or if the pointed value is "emp |--|--| | [`assertions.Empty(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#Empty) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#Empty](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L406) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#Empty](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal_unary.go#L70) {{% /tab %}} {{< /tabs >}} @@ -183,8 +183,11 @@ Function equality cannot be determined and will always fail. ### EqualExportedValues{#equalexportedvalues} EqualExportedValues asserts that the types of two objects are equal and their public -fields are also equal. This is useful for comparing structs that have private fields -that could potentially differ. +fields are also equal. + +This is useful for comparing structs that have private fields that could potentially differ. + +Function equality cannot be determined and will always fail. {{% expand title="Examples" %}} {{< tabs >}} @@ -230,7 +233,7 @@ that could potentially differ. |--|--| | [`assertions.EqualExportedValues(t T, expected any, actual any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#EqualExportedValues) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#EqualExportedValues](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L291) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#EqualExportedValues](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L214) {{% /tab %}} {{< /tabs >}} @@ -289,6 +292,8 @@ use [Equal] instead. EqualValues asserts that two objects are equal or convertible to the larger type and equal. +Function equality cannot be determined and will always fail. + {{% expand title="Examples" %}} {{< tabs >}} {{% tab title="Usage" %}} @@ -328,7 +333,7 @@ type and equal. |--|--| | [`assertions.EqualValues(t T, expected any, actual any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#EqualValues) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#EqualValues](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L257) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#EqualValues](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L142) {{% /tab %}} {{< /tabs >}} @@ -375,7 +380,7 @@ Exactly asserts that two objects are equal in value and type. |--|--| | [`assertions.Exactly(t T, expected any, actual any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#Exactly) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#Exactly](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L328) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#Exactly](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L256) {{% /tab %}} {{< /tabs >}} @@ -422,7 +427,7 @@ Nil asserts that the specified object is nil. |--|--| | [`assertions.Nil(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#Nil) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#Nil](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L375) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#Nil](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal_unary.go#L18) {{% /tab %}} {{< /tabs >}} @@ -471,7 +476,7 @@ NotEmpty asserts that the specified object is NOT [Empty]. |--|--| | [`assertions.NotEmpty(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#NotEmpty) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotEmpty](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L431) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotEmpty](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal_unary.go#L95) {{% /tab %}} {{< /tabs >}} @@ -486,6 +491,7 @@ NotEqual asserts that the specified values are NOT equal. assertions.NotEqual(t, obj1, obj2) Pointer variable equality is determined based on the equality of the referenced values (as opposed to the memory addresses). +Function equality cannot be determined and will always fail. ``` {{< /tab >}} {{% tab title="Examples" %}} @@ -520,7 +526,7 @@ referenced values (as opposed to the memory addresses). |--|--| | [`assertions.NotEqual(t T, expected any, actual any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#NotEqual) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotEqual](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L89) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotEqual](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L91) {{% /tab %}} {{< /tabs >}} @@ -565,7 +571,7 @@ See [EqualT]. |--|--| | [`assertions.NotEqualT(t T, expected V, actual V, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#NotEqualT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotEqualT](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L118) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotEqualT](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L120) {{% /tab %}} {{< /tabs >}} @@ -573,6 +579,8 @@ See [EqualT]. NotEqualValues asserts that two objects are not equal even when converted to the same type. +Function equality cannot be determined and will always fail. + {{% expand title="Examples" %}} {{< tabs >}} {{% tab title="Usage" %}} @@ -612,7 +620,7 @@ NotEqualValues asserts that two objects are not equal even when converted to the |--|--| | [`assertions.NotEqualValues(t T, expected any, actual any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#NotEqualValues) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotEqualValues](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L454) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotEqualValues](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L176) {{% /tab %}} {{< /tabs >}} @@ -659,7 +667,7 @@ assertions.NotNil(t, err) |--|--| | [`assertions.NotNil(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#NotNil) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotNil](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L354) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotNil](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal_unary.go#L39) {{% /tab %}} {{< /tabs >}} @@ -667,8 +675,7 @@ assertions.NotNil(t, err) NotSame asserts that two pointers do not reference the same object. -Both arguments must be pointer variables. Pointer variable sameness is -determined based on the equality of both type and value. +See [Same]. {{% expand title="Examples" %}} {{< tabs >}} @@ -709,7 +716,7 @@ determined based on the equality of both type and value. |--|--| | [`assertions.NotSame(t T, expected any, actual any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#NotSame) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotSame](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L199) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotSame](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal_pointer.go#L81) {{% /tab %}} {{< /tabs >}} @@ -717,7 +724,7 @@ determined based on the equality of both type and value. NotSameT asserts that two pointers do not reference the same object. -See [SameT] +See [SameT]. {{% expand title="Examples" %}} {{< tabs >}} @@ -754,7 +761,7 @@ See [SameT] |--|--| | [`assertions.NotSameT(t T, expected *P, actual *P, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#NotSameT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotSameT](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L231) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotSameT](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal_pointer.go#L113) {{% /tab %}} {{< /tabs >}} @@ -762,8 +769,11 @@ See [SameT] Same asserts that two pointers reference the same object. -Both arguments must be pointer variables. Pointer variable sameness is -determined based on the equality of both type and value. +Both arguments must be pointer variables. + +Pointer variable sameness is determined based on the equality of both type and value. + +Unlike [Equal] pointers, [Same] pointers point to the same memory address. {{% expand title="Examples" %}} {{< tabs >}} @@ -804,7 +814,7 @@ determined based on the equality of both type and value. |--|--| | [`assertions.Same(t T, expected any, actual any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#Same) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#Same](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L140) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#Same](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal_pointer.go#L21) {{% /tab %}} {{< /tabs >}} @@ -812,6 +822,8 @@ determined based on the equality of both type and value. SameT asserts that two pointers of the same type reference the same object. +See [Same]. + {{% expand title="Examples" %}} {{< tabs >}} {{% tab title="Usage" %}} @@ -847,7 +859,7 @@ SameT asserts that two pointers of the same type reference the same object. |--|--| | [`assertions.SameT(t T, expected *P, actual *P, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#SameT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#SameT](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal.go#L171) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#SameT](https://github.com/go-openapi/testify/blob/master/internal/assertions/equal_pointer.go#L54) {{% /tab %}} {{< /tabs >}} @@ -867,5 +879,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/error.md b/docs/doc-site/api/error.md index 9602b9ded..80d2eed25 100644 --- a/docs/doc-site/api/error.md +++ b/docs/doc-site/api/error.md @@ -1,7 +1,7 @@ --- title: "Error" description: "Asserting Errors" -modified: 2026-01-20 +modified: 2026-01-24 weight: 6 domains: - "error" @@ -453,5 +453,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/file.md b/docs/doc-site/api/file.md index 45ae3387a..d141645f5 100644 --- a/docs/doc-site/api/file.md +++ b/docs/doc-site/api/file.md @@ -1,7 +1,7 @@ --- title: "File" description: "Asserting OS Files" -modified: 2026-01-20 +modified: 2026-01-24 weight: 7 domains: - "file" @@ -344,5 +344,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/http.md b/docs/doc-site/api/http.md index c67a91298..d6a343685 100644 --- a/docs/doc-site/api/http.md +++ b/docs/doc-site/api/http.md @@ -1,7 +1,7 @@ --- title: "Http" description: "Asserting HTTP Response And Body" -modified: 2026-01-20 +modified: 2026-01-24 weight: 8 domains: - "http" @@ -382,5 +382,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/json.md b/docs/doc-site/api/json.md index a1febdd42..d54e5c06b 100644 --- a/docs/doc-site/api/json.md +++ b/docs/doc-site/api/json.md @@ -1,7 +1,7 @@ --- title: "Json" description: "Asserting JSON Documents" -modified: 2026-01-20 +modified: 2026-01-24 weight: 9 domains: - "json" @@ -197,5 +197,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/number.md b/docs/doc-site/api/number.md index 1a080e0a0..f931f8ecb 100644 --- a/docs/doc-site/api/number.md +++ b/docs/doc-site/api/number.md @@ -1,7 +1,7 @@ --- title: "Number" description: "Asserting Numbers" -modified: 2026-01-20 +modified: 2026-01-24 weight: 10 domains: - "number" @@ -443,5 +443,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/ordering.md b/docs/doc-site/api/ordering.md index 2acdc61d4..00a08eb76 100644 --- a/docs/doc-site/api/ordering.md +++ b/docs/doc-site/api/ordering.md @@ -1,7 +1,7 @@ --- title: "Ordering" description: "Asserting How Collections Are Ordered" -modified: 2026-01-20 +modified: 2026-01-24 weight: 11 domains: - "ordering" @@ -79,26 +79,26 @@ IsDecreasing asserts that the collection is strictly decreasing. {{% tab title="assert" style="secondary" %}} | Signature | Usage | |--|--| -| [`assert.IsDecreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsDecreasing) | package-level function | -| [`assert.IsDecreasingf(t T, object any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsDecreasingf) | formatted variant | -| [`assert.(*Assertions).IsDecreasing(object any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsDecreasing) | method variant | -| [`assert.(*Assertions).IsDecreasingf(object any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsDecreasingf) | method formatted variant | +| [`assert.IsDecreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsDecreasing) | package-level function | +| [`assert.IsDecreasingf(t T, collection any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsDecreasingf) | formatted variant | +| [`assert.(*Assertions).IsDecreasing(collection any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsDecreasing) | method variant | +| [`assert.(*Assertions).IsDecreasingf(collection any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsDecreasingf) | method formatted variant | {{% /tab %}} {{% tab title="require" style="secondary" %}} | Signature | Usage | |--|--| -| [`require.IsDecreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsDecreasing) | package-level function | -| [`require.IsDecreasingf(t T, object any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsDecreasingf) | formatted variant | -| [`require.(*Assertions).IsDecreasing(object any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsDecreasing) | method variant | -| [`require.(*Assertions).IsDecreasingf(object any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsDecreasingf) | method formatted variant | +| [`require.IsDecreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsDecreasing) | package-level function | +| [`require.IsDecreasingf(t T, collection any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsDecreasingf) | formatted variant | +| [`require.(*Assertions).IsDecreasing(collection any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsDecreasing) | method variant | +| [`require.(*Assertions).IsDecreasingf(collection any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsDecreasingf) | method formatted variant | {{% /tab %}} {{% tab title="internal" style="accent" icon="wrench" %}} | Signature | Usage | |--|--| -| [`assertions.IsDecreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsDecreasing) | internal implementation | +| [`assertions.IsDecreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsDecreasing) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsDecreasing](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L170) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsDecreasing](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L190) {{% /tab %}} {{< /tabs >}} @@ -143,7 +143,7 @@ IsDecreasingT asserts that a slice of [Ordered] is strictly decreasing. |--|--| | [`assertions.IsDecreasingT(t T, collection OrderedSlice, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsDecreasingT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsDecreasingT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L190) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsDecreasingT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L220) {{% /tab %}} {{< /tabs >}} @@ -173,24 +173,24 @@ IsIncreasing asserts that the collection is strictly increasing. {{% tab title="assert" style="secondary" %}} | Signature | Usage | |--|--| -| [`assert.IsIncreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsIncreasing) | package-level function | -| [`assert.IsIncreasingf(t T, object any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsIncreasingf) | formatted variant | -| [`assert.(*Assertions).IsIncreasing(object any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsIncreasing) | method variant | -| [`assert.(*Assertions).IsIncreasingf(object any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsIncreasingf) | method formatted variant | +| [`assert.IsIncreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsIncreasing) | package-level function | +| [`assert.IsIncreasingf(t T, collection any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsIncreasingf) | formatted variant | +| [`assert.(*Assertions).IsIncreasing(collection any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsIncreasing) | method variant | +| [`assert.(*Assertions).IsIncreasingf(collection any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsIncreasingf) | method formatted variant | {{% /tab %}} {{% tab title="require" style="secondary" %}} | Signature | Usage | |--|--| -| [`require.IsIncreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsIncreasing) | package-level function | -| [`require.IsIncreasingf(t T, object any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsIncreasingf) | formatted variant | -| [`require.(*Assertions).IsIncreasing(object any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsIncreasing) | method variant | -| [`require.(*Assertions).IsIncreasingf(object any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsIncreasingf) | method formatted variant | +| [`require.IsIncreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsIncreasing) | package-level function | +| [`require.IsIncreasingf(t T, collection any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsIncreasingf) | formatted variant | +| [`require.(*Assertions).IsIncreasing(collection any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsIncreasing) | method variant | +| [`require.(*Assertions).IsIncreasingf(collection any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsIncreasingf) | method formatted variant | {{% /tab %}} {{% tab title="internal" style="accent" icon="wrench" %}} | Signature | Usage | |--|--| -| [`assertions.IsIncreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsIncreasing) | internal implementation | +| [`assertions.IsIncreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsIncreasing) | internal implementation | **Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsIncreasing](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L24) {{% /tab %}} @@ -237,7 +237,7 @@ IsIncreasingT asserts that a slice of [Ordered] is strictly increasing. |--|--| | [`assertions.IsIncreasingT(t T, collection OrderedSlice, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsIncreasingT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsIncreasingT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L44) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsIncreasingT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L53) {{% /tab %}} {{< /tabs >}} @@ -267,26 +267,26 @@ IsNonDecreasing asserts that the collection is not strictly decreasing. {{% tab title="assert" style="secondary" %}} | Signature | Usage | |--|--| -| [`assert.IsNonDecreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsNonDecreasing) | package-level function | -| [`assert.IsNonDecreasingf(t T, object any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsNonDecreasingf) | formatted variant | -| [`assert.(*Assertions).IsNonDecreasing(object any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsNonDecreasing) | method variant | -| [`assert.(*Assertions).IsNonDecreasingf(object any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsNonDecreasingf) | method formatted variant | +| [`assert.IsNonDecreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsNonDecreasing) | package-level function | +| [`assert.IsNonDecreasingf(t T, collection any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsNonDecreasingf) | formatted variant | +| [`assert.(*Assertions).IsNonDecreasing(collection any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsNonDecreasing) | method variant | +| [`assert.(*Assertions).IsNonDecreasingf(collection any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsNonDecreasingf) | method formatted variant | {{% /tab %}} {{% tab title="require" style="secondary" %}} | Signature | Usage | |--|--| -| [`require.IsNonDecreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsNonDecreasing) | package-level function | -| [`require.IsNonDecreasingf(t T, object any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsNonDecreasingf) | formatted variant | -| [`require.(*Assertions).IsNonDecreasing(object any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsNonDecreasing) | method variant | -| [`require.(*Assertions).IsNonDecreasingf(object any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsNonDecreasingf) | method formatted variant | +| [`require.IsNonDecreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsNonDecreasing) | package-level function | +| [`require.IsNonDecreasingf(t T, collection any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsNonDecreasingf) | formatted variant | +| [`require.(*Assertions).IsNonDecreasing(collection any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsNonDecreasing) | method variant | +| [`require.(*Assertions).IsNonDecreasingf(collection any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsNonDecreasingf) | method formatted variant | {{% /tab %}} {{% tab title="internal" style="accent" icon="wrench" %}} | Signature | Usage | |--|--| -| [`assertions.IsNonDecreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsNonDecreasing) | internal implementation | +| [`assertions.IsNonDecreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsNonDecreasing) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsNonDecreasing](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L216) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsNonDecreasing](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L246) {{% /tab %}} {{< /tabs >}} @@ -331,7 +331,7 @@ IsNonDecreasingT asserts that a slice of [Ordered] is not decreasing. |--|--| | [`assertions.IsNonDecreasingT(t T, collection OrderedSlice, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsNonDecreasingT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsNonDecreasingT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L236) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsNonDecreasingT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L275) {{% /tab %}} {{< /tabs >}} @@ -361,26 +361,26 @@ IsNonIncreasing asserts that the collection is not increasing. {{% tab title="assert" style="secondary" %}} | Signature | Usage | |--|--| -| [`assert.IsNonIncreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsNonIncreasing) | package-level function | -| [`assert.IsNonIncreasingf(t T, object any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsNonIncreasingf) | formatted variant | -| [`assert.(*Assertions).IsNonIncreasing(object any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsNonIncreasing) | method variant | -| [`assert.(*Assertions).IsNonIncreasingf(object any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsNonIncreasingf) | method formatted variant | +| [`assert.IsNonIncreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsNonIncreasing) | package-level function | +| [`assert.IsNonIncreasingf(t T, collection any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#IsNonIncreasingf) | formatted variant | +| [`assert.(*Assertions).IsNonIncreasing(collection any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsNonIncreasing) | method variant | +| [`assert.(*Assertions).IsNonIncreasingf(collection any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/assert#Assertions.IsNonIncreasingf) | method formatted variant | {{% /tab %}} {{% tab title="require" style="secondary" %}} | Signature | Usage | |--|--| -| [`require.IsNonIncreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsNonIncreasing) | package-level function | -| [`require.IsNonIncreasingf(t T, object any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsNonIncreasingf) | formatted variant | -| [`require.(*Assertions).IsNonIncreasing(object any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsNonIncreasing) | method variant | -| [`require.(*Assertions).IsNonIncreasingf(object any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsNonIncreasingf) | method formatted variant | +| [`require.IsNonIncreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsNonIncreasing) | package-level function | +| [`require.IsNonIncreasingf(t T, collection any, msg string, args ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#IsNonIncreasingf) | formatted variant | +| [`require.(*Assertions).IsNonIncreasing(collection any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsNonIncreasing) | method variant | +| [`require.(*Assertions).IsNonIncreasingf(collection any, msg string, args ..any)`](https://pkg.go.dev/github.com/go-openapi/testify/v2/require#Assertions.IsNonIncreasingf) | method formatted variant | {{% /tab %}} {{% tab title="internal" style="accent" icon="wrench" %}} | Signature | Usage | |--|--| -| [`assertions.IsNonIncreasing(t T, object any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsNonIncreasing) | internal implementation | +| [`assertions.IsNonIncreasing(t T, collection any, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsNonIncreasing) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsNonIncreasing](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L124) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsNonIncreasing](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L135) {{% /tab %}} {{< /tabs >}} @@ -425,7 +425,7 @@ IsNonIncreasingT asserts that a slice of [Ordered] is NOT strictly increasing. |--|--| | [`assertions.IsNonIncreasingT(t T, collection OrderedSlice, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#IsNonIncreasingT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsNonIncreasingT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L144) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#IsNonIncreasingT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L164) {{% /tab %}} {{< /tabs >}} @@ -472,7 +472,7 @@ Unlike [IsDecreasingT], it accepts slices that are neither increasing nor decrea |--|--| | [`assertions.NotSortedT(t T, collection OrderedSlice, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#NotSortedT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotSortedT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L99) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#NotSortedT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L109) {{% /tab %}} {{< /tabs >}} @@ -519,7 +519,7 @@ Unlike [IsIncreasingT], it accepts elements to be equal. |--|--| | [`assertions.SortedT(t T, collection OrderedSlice, msgAndArgs ...any) bool`](https://pkg.go.dev/github.com/go-openapi/testify/v2/internal/assertions#SortedT) | internal implementation | -**Source:** [github.com/go-openapi/testify/v2/internal/assertions#SortedT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L72) +**Source:** [github.com/go-openapi/testify/v2/internal/assertions#SortedT](https://github.com/go-openapi/testify/blob/master/internal/assertions/order.go#L81) {{% /tab %}} {{< /tabs >}} @@ -539,5 +539,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/panic.md b/docs/doc-site/api/panic.md index de68b1483..2d7cb920a 100644 --- a/docs/doc-site/api/panic.md +++ b/docs/doc-site/api/panic.md @@ -1,7 +1,7 @@ --- title: "Panic" description: "Asserting A Panic Behavior" -modified: 2026-01-20 +modified: 2026-01-24 weight: 12 domains: - "panic" @@ -241,5 +241,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/string.md b/docs/doc-site/api/string.md index 7fc68a217..2a071f42c 100644 --- a/docs/doc-site/api/string.md +++ b/docs/doc-site/api/string.md @@ -1,7 +1,7 @@ --- title: "String" description: "Asserting Strings" -modified: 2026-01-20 +modified: 2026-01-24 weight: 13 domains: - "string" @@ -241,5 +241,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/testing.md b/docs/doc-site/api/testing.md index 3a0e121c4..d90f3d964 100644 --- a/docs/doc-site/api/testing.md +++ b/docs/doc-site/api/testing.md @@ -1,7 +1,7 @@ --- title: "Testing" description: "Mimicks Methods From The Testing Standard Library" -modified: 2026-01-20 +modified: 2026-01-24 weight: 14 domains: - "testing" @@ -136,5 +136,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/time.md b/docs/doc-site/api/time.md index 29a19a1b3..3b69deb38 100644 --- a/docs/doc-site/api/time.md +++ b/docs/doc-site/api/time.md @@ -1,7 +1,7 @@ --- title: "Time" description: "Asserting Times And Durations" -modified: 2026-01-20 +modified: 2026-01-24 weight: 15 domains: - "time" @@ -138,5 +138,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/type.md b/docs/doc-site/api/type.md index 4159d7ca7..69de9900c 100644 --- a/docs/doc-site/api/type.md +++ b/docs/doc-site/api/type.md @@ -1,7 +1,7 @@ --- title: "Type" description: "Asserting Types Rather Than Values" -modified: 2026-01-20 +modified: 2026-01-24 weight: 16 domains: - "type" @@ -537,5 +537,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/docs/doc-site/api/yaml.md b/docs/doc-site/api/yaml.md index 4b18c9058..983a1ca1e 100644 --- a/docs/doc-site/api/yaml.md +++ b/docs/doc-site/api/yaml.md @@ -1,7 +1,7 @@ --- title: "Yaml" description: "Asserting Yaml Documents" -modified: 2026-01-20 +modified: 2026-01-24 weight: 17 domains: - "yaml" @@ -202,5 +202,5 @@ SPDX-License-Identifier: Apache-2.0 Document generated by github.com/go-openapi/testify/codegen/v2 DO NOT EDIT. -Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] --> diff --git a/hack/doc-site/hugo/.gitignore b/hack/doc-site/hugo/.gitignore index a48cf0de7..188dbbb1f 100644 --- a/hack/doc-site/hugo/.gitignore +++ b/hack/doc-site/hugo/.gitignore @@ -1 +1,2 @@ public +*.lock diff --git a/hack/doc-site/hugo/themes/testify-assets/colorized.png b/hack/doc-site/hugo/themes/testify-assets/colorized.png new file mode 100644 index 000000000..b5b783cb7 Binary files /dev/null and b/hack/doc-site/hugo/themes/testify-assets/colorized.png differ diff --git a/internal/testintegration/doc.go b/internal/testintegration/doc.go new file mode 100644 index 000000000..9818291ec --- /dev/null +++ b/internal/testintegration/doc.go @@ -0,0 +1,2 @@ +// Package testintegration carries out cross-modules tests. +package testintegration diff --git a/internal/testintegration/go.mod b/internal/testintegration/go.mod index f40bc06f4..528d76541 100644 --- a/internal/testintegration/go.mod +++ b/internal/testintegration/go.mod @@ -1,4 +1,4 @@ -module github.com/go-openapi/testify/v2/internal/testintegration +module github.com/go-openapi/testify/v2/internal/testintegration/v2 go 1.24.0 diff --git a/require/require_assertions.go b/require/require_assertions.go index 9f8df864f..9cac08894 100644 --- a/require/require_assertions.go +++ b/require/require_assertions.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require @@ -250,8 +250,11 @@ func EqualError(t T, err error, errString string, msgAndArgs ...any) { } // EqualExportedValues asserts that the types of two objects are equal and their public -// fields are also equal. This is useful for comparing structs that have private fields -// that could potentially differ. +// fields are also equal. +// +// This is useful for comparing structs that have private fields that could potentially differ. +// +// Function equality cannot be determined and will always fail. // // # Usage // @@ -314,6 +317,8 @@ func EqualT[V comparable](t T, expected V, actual V, msgAndArgs ...any) { // EqualValues asserts that two objects are equal or convertible to the larger // type and equal. // +// Function equality cannot be determined and will always fail. +// // # Usage // // assertions.EqualValues(t, uint32(123), int32(123)) @@ -1273,11 +1278,11 @@ func InEpsilonT[Number Measurable](t T, expected Number, actual Number, epsilon // failure: []int{1, 2, 3} // // Upon failure, the test [T] is marked as failed and stops execution. -func IsDecreasing(t T, object any, msgAndArgs ...any) { +func IsDecreasing(t T, collection any, msgAndArgs ...any) { if h, ok := t.(H); ok { h.Helper() } - if assertions.IsDecreasing(t, object, msgAndArgs...) { + if assertions.IsDecreasing(t, collection, msgAndArgs...) { return } @@ -1323,11 +1328,11 @@ func IsDecreasingT[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice, m // failure: []int{1, 1, 2} // // Upon failure, the test [T] is marked as failed and stops execution. -func IsIncreasing(t T, object any, msgAndArgs ...any) { +func IsIncreasing(t T, collection any, msgAndArgs ...any) { if h, ok := t.(H); ok { h.Helper() } - if assertions.IsIncreasing(t, object, msgAndArgs...) { + if assertions.IsIncreasing(t, collection, msgAndArgs...) { return } @@ -1373,11 +1378,11 @@ func IsIncreasingT[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice, m // failure: []int{2, 1, 0} // // Upon failure, the test [T] is marked as failed and stops execution. -func IsNonDecreasing(t T, object any, msgAndArgs ...any) { +func IsNonDecreasing(t T, collection any, msgAndArgs ...any) { if h, ok := t.(H); ok { h.Helper() } - if assertions.IsNonDecreasing(t, object, msgAndArgs...) { + if assertions.IsNonDecreasing(t, collection, msgAndArgs...) { return } @@ -1423,11 +1428,11 @@ func IsNonDecreasingT[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice // failure: []int{1, 2, 3} // // Upon failure, the test [T] is marked as failed and stops execution. -func IsNonIncreasing(t T, object any, msgAndArgs ...any) { +func IsNonIncreasing(t T, collection any, msgAndArgs ...any) { if h, ok := t.(H); ok { h.Helper() } - if assertions.IsNonIncreasing(t, object, msgAndArgs...) { + if assertions.IsNonIncreasing(t, collection, msgAndArgs...) { return } @@ -2105,6 +2110,8 @@ func NotEmpty(t T, object any, msgAndArgs ...any) { // Pointer variable equality is determined based on the equality of the // referenced values (as opposed to the memory addresses). // +// Function equality cannot be determined and will always fail. +// // # Examples // // success: 123, 456 @@ -2149,6 +2156,8 @@ func NotEqualT[V comparable](t T, expected V, actual V, msgAndArgs ...any) { // NotEqualValues asserts that two objects are not equal even when converted to the same type. // +// Function equality cannot be determined and will always fail. +// // # Usage // // assertions.NotEqualValues(t, obj1, obj2) @@ -2368,8 +2377,7 @@ func NotRegexpT[Rex RegExp, ADoc Text](t T, rx Rex, actual ADoc, msgAndArgs ...a // NotSame asserts that two pointers do not reference the same object. // -// Both arguments must be pointer variables. Pointer variable sameness is -// determined based on the equality of both type and value. +// See [Same]. // // # Usage // @@ -2394,7 +2402,7 @@ func NotSame(t T, expected any, actual any, msgAndArgs ...any) { // NotSameT asserts that two pointers do not reference the same object. // -// See [SameT] +// See [SameT]. // // # Usage // @@ -2669,8 +2677,11 @@ func RegexpT[Rex RegExp, ADoc Text](t T, rx Rex, actual ADoc, msgAndArgs ...any) // Same asserts that two pointers reference the same object. // -// Both arguments must be pointer variables. Pointer variable sameness is -// determined based on the equality of both type and value. +// Both arguments must be pointer variables. +// +// Pointer variable sameness is determined based on the equality of both type and value. +// +// Unlike [Equal] pointers, [Same] pointers point to the same memory address. // // # Usage // @@ -2695,6 +2706,8 @@ func Same(t T, expected any, actual any, msgAndArgs ...any) { // SameT asserts that two pointers of the same type reference the same object. // +// See [Same]. +// // # Usage // // assertions.SameT(t, ptr1, ptr2) diff --git a/require/require_assertions_test.go b/require/require_assertions_test.go index 6fdcc9445..396eaf75a 100644 --- a/require/require_assertions_test.go +++ b/require/require_assertions_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require diff --git a/require/require_examples_test.go b/require/require_examples_test.go index 749f60689..b812d43ba 100644 --- a/require/require_examples_test.go +++ b/require/require_examples_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require_test diff --git a/require/require_format.go b/require/require_format.go index 7c547d826..f5e9a4584 100644 --- a/require/require_format.go +++ b/require/require_format.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require @@ -645,11 +645,11 @@ func InEpsilonTf[Number Measurable](t T, expected Number, actual Number, epsilon // IsDecreasingf is the same as [IsDecreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and stops execution. -func IsDecreasingf(t T, object any, msg string, args ...any) { +func IsDecreasingf(t T, collection any, msg string, args ...any) { if h, ok := t.(H); ok { h.Helper() } - if assertions.IsDecreasing(t, object, forwardArgs(msg, args)) { + if assertions.IsDecreasing(t, collection, forwardArgs(msg, args)) { return } @@ -673,11 +673,11 @@ func IsDecreasingTf[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice, // IsIncreasingf is the same as [IsIncreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and stops execution. -func IsIncreasingf(t T, object any, msg string, args ...any) { +func IsIncreasingf(t T, collection any, msg string, args ...any) { if h, ok := t.(H); ok { h.Helper() } - if assertions.IsIncreasing(t, object, forwardArgs(msg, args)) { + if assertions.IsIncreasing(t, collection, forwardArgs(msg, args)) { return } @@ -701,11 +701,11 @@ func IsIncreasingTf[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlice, // IsNonDecreasingf is the same as [IsNonDecreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and stops execution. -func IsNonDecreasingf(t T, object any, msg string, args ...any) { +func IsNonDecreasingf(t T, collection any, msg string, args ...any) { if h, ok := t.(H); ok { h.Helper() } - if assertions.IsNonDecreasing(t, object, forwardArgs(msg, args)) { + if assertions.IsNonDecreasing(t, collection, forwardArgs(msg, args)) { return } @@ -729,11 +729,11 @@ func IsNonDecreasingTf[OrderedSlice ~[]E, E Ordered](t T, collection OrderedSlic // IsNonIncreasingf is the same as [IsNonIncreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and stops execution. -func IsNonIncreasingf(t T, object any, msg string, args ...any) { +func IsNonIncreasingf(t T, collection any, msg string, args ...any) { if h, ok := t.(H); ok { h.Helper() } - if assertions.IsNonIncreasing(t, object, forwardArgs(msg, args)) { + if assertions.IsNonIncreasing(t, collection, forwardArgs(msg, args)) { return } diff --git a/require/require_format_test.go b/require/require_format_test.go index 483bceff2..fa193fbed 100644 --- a/require/require_format_test.go +++ b/require/require_format_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require diff --git a/require/require_forward.go b/require/require_forward.go index 486b392d1..8a22cbc07 100644 --- a/require/require_forward.go +++ b/require/require_forward.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require @@ -1090,11 +1090,11 @@ func (a *Assertions) InEpsilonSlicef(expected any, actual any, epsilon float64, // IsDecreasing is the same as [IsDecreasing], as a method rather than a package-level function. // // Upon failure, the test [T] is marked as failed and stops execution. -func (a *Assertions) IsDecreasing(object any, msgAndArgs ...any) { +func (a *Assertions) IsDecreasing(collection any, msgAndArgs ...any) { if h, ok := a.t.(H); ok { h.Helper() } - if assertions.IsDecreasing(a.t, object, msgAndArgs...) { + if assertions.IsDecreasing(a.t, collection, msgAndArgs...) { return } @@ -1104,11 +1104,11 @@ func (a *Assertions) IsDecreasing(object any, msgAndArgs ...any) { // IsDecreasingf is the same as [Assertions.IsDecreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and stops execution. -func (a *Assertions) IsDecreasingf(object any, msg string, args ...any) { +func (a *Assertions) IsDecreasingf(collection any, msg string, args ...any) { if h, ok := a.t.(H); ok { h.Helper() } - if assertions.IsDecreasing(a.t, object, forwardArgs(msg, args)) { + if assertions.IsDecreasing(a.t, collection, forwardArgs(msg, args)) { return } @@ -1118,11 +1118,11 @@ func (a *Assertions) IsDecreasingf(object any, msg string, args ...any) { // IsIncreasing is the same as [IsIncreasing], as a method rather than a package-level function. // // Upon failure, the test [T] is marked as failed and stops execution. -func (a *Assertions) IsIncreasing(object any, msgAndArgs ...any) { +func (a *Assertions) IsIncreasing(collection any, msgAndArgs ...any) { if h, ok := a.t.(H); ok { h.Helper() } - if assertions.IsIncreasing(a.t, object, msgAndArgs...) { + if assertions.IsIncreasing(a.t, collection, msgAndArgs...) { return } @@ -1132,11 +1132,11 @@ func (a *Assertions) IsIncreasing(object any, msgAndArgs ...any) { // IsIncreasingf is the same as [Assertions.IsIncreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and stops execution. -func (a *Assertions) IsIncreasingf(object any, msg string, args ...any) { +func (a *Assertions) IsIncreasingf(collection any, msg string, args ...any) { if h, ok := a.t.(H); ok { h.Helper() } - if assertions.IsIncreasing(a.t, object, forwardArgs(msg, args)) { + if assertions.IsIncreasing(a.t, collection, forwardArgs(msg, args)) { return } @@ -1146,11 +1146,11 @@ func (a *Assertions) IsIncreasingf(object any, msg string, args ...any) { // IsNonDecreasing is the same as [IsNonDecreasing], as a method rather than a package-level function. // // Upon failure, the test [T] is marked as failed and stops execution. -func (a *Assertions) IsNonDecreasing(object any, msgAndArgs ...any) { +func (a *Assertions) IsNonDecreasing(collection any, msgAndArgs ...any) { if h, ok := a.t.(H); ok { h.Helper() } - if assertions.IsNonDecreasing(a.t, object, msgAndArgs...) { + if assertions.IsNonDecreasing(a.t, collection, msgAndArgs...) { return } @@ -1160,11 +1160,11 @@ func (a *Assertions) IsNonDecreasing(object any, msgAndArgs ...any) { // IsNonDecreasingf is the same as [Assertions.IsNonDecreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and stops execution. -func (a *Assertions) IsNonDecreasingf(object any, msg string, args ...any) { +func (a *Assertions) IsNonDecreasingf(collection any, msg string, args ...any) { if h, ok := a.t.(H); ok { h.Helper() } - if assertions.IsNonDecreasing(a.t, object, forwardArgs(msg, args)) { + if assertions.IsNonDecreasing(a.t, collection, forwardArgs(msg, args)) { return } @@ -1174,11 +1174,11 @@ func (a *Assertions) IsNonDecreasingf(object any, msg string, args ...any) { // IsNonIncreasing is the same as [IsNonIncreasing], as a method rather than a package-level function. // // Upon failure, the test [T] is marked as failed and stops execution. -func (a *Assertions) IsNonIncreasing(object any, msgAndArgs ...any) { +func (a *Assertions) IsNonIncreasing(collection any, msgAndArgs ...any) { if h, ok := a.t.(H); ok { h.Helper() } - if assertions.IsNonIncreasing(a.t, object, msgAndArgs...) { + if assertions.IsNonIncreasing(a.t, collection, msgAndArgs...) { return } @@ -1188,11 +1188,11 @@ func (a *Assertions) IsNonIncreasing(object any, msgAndArgs ...any) { // IsNonIncreasingf is the same as [Assertions.IsNonIncreasing], but it accepts a format msg string to format arguments like [fmt.Printf]. // // Upon failure, the test [T] is marked as failed and stops execution. -func (a *Assertions) IsNonIncreasingf(object any, msg string, args ...any) { +func (a *Assertions) IsNonIncreasingf(collection any, msg string, args ...any) { if h, ok := a.t.(H); ok { h.Helper() } - if assertions.IsNonIncreasing(a.t, object, forwardArgs(msg, args)) { + if assertions.IsNonIncreasing(a.t, collection, forwardArgs(msg, args)) { return } diff --git a/require/require_forward_test.go b/require/require_forward_test.go index 73e8dc239..0c4528e6c 100644 --- a/require/require_forward_test.go +++ b/require/require_forward_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require diff --git a/require/require_helpers.go b/require/require_helpers.go index 5b376445f..cb6124ecb 100644 --- a/require/require_helpers.go +++ b/require/require_helpers.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require diff --git a/require/require_helpers_test.go b/require/require_helpers_test.go index 9412da3b8..c2e0c8375 100644 --- a/require/require_helpers_test.go +++ b/require/require_helpers_test.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require diff --git a/require/require_types.go b/require/require_types.go index 4688674e8..35895cb53 100644 --- a/require/require_types.go +++ b/require/require_types.go @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // Code generated with github.com/go-openapi/testify/codegen/v2; DO NOT EDIT. -// Generated on 2026-01-20 (version 74d5686) using codegen version v2.1.9-0.20260119232631-74d5686313f0+dirty [sha: 74d5686313f0820ae0e2758b95d598f646cd7ad5] +// Generated on 2026-01-24 (version 178304f) using codegen version v2.1.9-0.20260123222731-178304f36678+dirty [sha: 178304f366789315d4db6b11c89786c43d916247] package require