@@ -37,7 +37,7 @@ func (s *RegistryTestSuite) TestRegistry_RegisterComponents_WithSearchAttributes
3737 lib := chasm .NewMockLibrary (ctrl )
3838 lib .EXPECT ().Name ().Return ("TestLibrary" ).AnyTimes ()
3939
40- s .T (). Run ("successful registration with valid search attributes" , func (t * testing. T ) {
40+ s .Run ("successful registration with valid search attributes" , func () {
4141 boolKey := chasm .NewSearchAttributeBoolByIndex ("MyBoolKey" , 1 )
4242 timeKey := chasm .NewSearchAttributeTimeByIndex ("MyTimeKey" , 1 )
4343
@@ -54,14 +54,14 @@ func (s *RegistryTestSuite) TestRegistry_RegisterComponents_WithSearchAttributes
5454
5555 r := chasm .NewRegistry (s .logger )
5656 err := r .Register (lib )
57- require .NoError (t , err )
57+ s .NoError (err )
5858 })
5959
60- s .T (). Run ("no panic with valid keys" , func (t * testing. T ) {
60+ s .Run ("no panic with valid keys" , func () {
6161 // Creating valid keys should not panic
6262 boolKey := chasm .NewSearchAttributeBoolByIndex ("MyBoolKey" , 1 )
6363
64- require .NotPanics (t , func () {
64+ s .NotPanics (func () {
6565 chasm .NewRegistrableComponent [* chasm.MockComponent ](
6666 "Component1" ,
6767 chasm .WithSearchAttributes ([]* chasm.SearchAttribute {
@@ -71,12 +71,12 @@ func (s *RegistryTestSuite) TestRegistry_RegisterComponents_WithSearchAttributes
7171 })
7272 })
7373
74- s .T (). Run ("panic on duplicate alias" , func (t * testing. T ) {
74+ s .Run ("panic on duplicate alias" , func () {
7575 // Both keys trying to use the same alias - should panic
7676 boolKey1 := chasm .NewSearchAttributeBoolByAlias ("MyBoolKey1" , "DuplicateAlias" )
7777 boolKey2 := chasm .NewSearchAttributeBoolByAlias ("MyBoolKey2" , "DuplicateAlias" )
7878
79- require .Panics (t , func () {
79+ s .Panics (func () {
8080 chasm .NewRegistrableComponent [* chasm.MockComponent ](
8181 "Component1" ,
8282 chasm .WithSearchAttributes ([]* chasm.SearchAttribute {
0 commit comments