build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
		
							
								
								
									
										32
									
								
								vendor/github.com/stretchr/testify/assert/assertion_format.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								vendor/github.com/stretchr/testify/assert/assertion_format.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1,7 +1,4 @@
 | 
			
		||||
/*
 | 
			
		||||
* CODE GENERATED AUTOMATICALLY WITH github.com/stretchr/testify/_codegen
 | 
			
		||||
* THIS FILE MUST NOT BE EDITED BY HAND
 | 
			
		||||
 */
 | 
			
		||||
// Code generated with github.com/stretchr/testify/_codegen; DO NOT EDIT.
 | 
			
		||||
 | 
			
		||||
package assert
 | 
			
		||||
 | 
			
		||||
@@ -107,7 +104,7 @@ func EqualExportedValuesf(t TestingT, expected interface{}, actual interface{},
 | 
			
		||||
	return EqualExportedValues(t, expected, actual, append([]interface{}{msg}, args...)...)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// EqualValuesf asserts that two objects are equal or convertable to the same types
 | 
			
		||||
// EqualValuesf asserts that two objects are equal or convertible to the same types
 | 
			
		||||
// and equal.
 | 
			
		||||
//
 | 
			
		||||
//	assert.EqualValuesf(t, uint32(123), int32(123), "error message %s", "formatted")
 | 
			
		||||
@@ -616,6 +613,16 @@ func NotErrorIsf(t TestingT, err error, target error, msg string, args ...interf
 | 
			
		||||
	return NotErrorIs(t, err, target, append([]interface{}{msg}, args...)...)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NotImplementsf asserts that an object does not implement the specified interface.
 | 
			
		||||
//
 | 
			
		||||
//	assert.NotImplementsf(t, (*MyInterface)(nil), new(MyObject), "error message %s", "formatted")
 | 
			
		||||
func NotImplementsf(t TestingT, interfaceObject interface{}, object interface{}, msg string, args ...interface{}) bool {
 | 
			
		||||
	if h, ok := t.(tHelper); ok {
 | 
			
		||||
		h.Helper()
 | 
			
		||||
	}
 | 
			
		||||
	return NotImplements(t, interfaceObject, object, append([]interface{}{msg}, args...)...)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NotNilf asserts that the specified object is not nil.
 | 
			
		||||
//
 | 
			
		||||
//	assert.NotNilf(t, err, "error message %s", "formatted")
 | 
			
		||||
@@ -660,10 +667,12 @@ func NotSamef(t TestingT, expected interface{}, actual interface{}, msg string,
 | 
			
		||||
	return NotSame(t, expected, actual, append([]interface{}{msg}, args...)...)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NotSubsetf asserts that the specified list(array, slice...) contains not all
 | 
			
		||||
// elements given in the specified subset(array, slice...).
 | 
			
		||||
// NotSubsetf asserts that the specified list(array, slice...) or map does NOT
 | 
			
		||||
// contain all elements given in the specified subset list(array, slice...) or
 | 
			
		||||
// map.
 | 
			
		||||
//
 | 
			
		||||
//	assert.NotSubsetf(t, [1, 3, 4], [1, 2], "But [1, 3, 4] does not contain [1, 2]", "error message %s", "formatted")
 | 
			
		||||
//	assert.NotSubsetf(t, [1, 3, 4], [1, 2], "error message %s", "formatted")
 | 
			
		||||
//	assert.NotSubsetf(t, {"x": 1, "y": 2}, {"z": 3}, "error message %s", "formatted")
 | 
			
		||||
func NotSubsetf(t TestingT, list interface{}, subset interface{}, msg string, args ...interface{}) bool {
 | 
			
		||||
	if h, ok := t.(tHelper); ok {
 | 
			
		||||
		h.Helper()
 | 
			
		||||
@@ -747,10 +756,11 @@ func Samef(t TestingT, expected interface{}, actual interface{}, msg string, arg
 | 
			
		||||
	return Same(t, expected, actual, append([]interface{}{msg}, args...)...)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Subsetf asserts that the specified list(array, slice...) contains all
 | 
			
		||||
// elements given in the specified subset(array, slice...).
 | 
			
		||||
// Subsetf asserts that the specified list(array, slice...) or map contains all
 | 
			
		||||
// elements given in the specified subset list(array, slice...) or map.
 | 
			
		||||
//
 | 
			
		||||
//	assert.Subsetf(t, [1, 2, 3], [1, 2], "But [1, 2, 3] does contain [1, 2]", "error message %s", "formatted")
 | 
			
		||||
//	assert.Subsetf(t, [1, 2, 3], [1, 2], "error message %s", "formatted")
 | 
			
		||||
//	assert.Subsetf(t, {"x": 1, "y": 2}, {"x": 1}, "error message %s", "formatted")
 | 
			
		||||
func Subsetf(t TestingT, list interface{}, subset interface{}, msg string, args ...interface{}) bool {
 | 
			
		||||
	if h, ok := t.(tHelper); ok {
 | 
			
		||||
		h.Helper()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user