File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
staging/src/k8s.io/apiserver/pkg/cel Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
"testing"
21
21
22
22
"github.com/google/cel-go/common/types"
23
- "github.com/stretchr/testify/assert "
23
+ "github.com/stretchr/testify/require "
24
24
)
25
25
26
26
func TestTypes_ListType (t * testing.T ) {
@@ -88,8 +88,8 @@ func TestDeclTypeProvider_FindStructType(t *testing.T) {
88
88
base := types .NewEmptyRegistry ()
89
89
provider := NewDeclTypeProvider (obj )
90
90
provider , err := provider .WithTypeProvider (base )
91
- assert .NoError (t , err )
91
+ require .NoError (t , err )
92
92
wrappedType , found := provider .FindStructType ("foo" )
93
- assert .True (t , found )
94
- assert .Equal (t , types .TypeKind , wrappedType .Kind ())
93
+ require .True (t , found )
94
+ require .Equal (t , types .TypeKind , wrappedType .Kind ())
95
95
}
You can’t perform that action at this time.
0 commit comments