@@ -27,8 +27,8 @@ func TestNewFactory(t *testing.T) {
27
27
f := NewFactory (
28
28
testType ,
29
29
func () component.Config { return & defaultCfg })
30
- assert .EqualValues (t , testType , f .Type ())
31
- assert .EqualValues (t , & defaultCfg , f .CreateDefaultConfig ())
30
+ assert .Equal (t , testType , f .Type ())
31
+ assert .Equal (t , & defaultCfg , f .CreateDefaultConfig ())
32
32
_ , err := f .CreateTraces (context .Background (), Settings {ID : testID }, & defaultCfg , consumertest .NewNop ())
33
33
require .ErrorIs (t , err , pipeline .ErrSignalNotSupported )
34
34
_ , err = f .CreateMetrics (context .Background (), Settings {ID : testID }, & defaultCfg , consumertest .NewNop ())
@@ -45,8 +45,8 @@ func TestNewFactoryWithOptions(t *testing.T) {
45
45
WithTraces (createTraces , component .StabilityLevelDeprecated ),
46
46
WithMetrics (createMetrics , component .StabilityLevelAlpha ),
47
47
WithLogs (createLogs , component .StabilityLevelStable ))
48
- assert .EqualValues (t , testType , f .Type ())
49
- assert .EqualValues (t , & defaultCfg , f .CreateDefaultConfig ())
48
+ assert .Equal (t , testType , f .Type ())
49
+ assert .Equal (t , & defaultCfg , f .CreateDefaultConfig ())
50
50
51
51
wrongID := component .MustNewID ("wrong" )
52
52
wrongIDErrStr := internal .ErrIDMismatch (wrongID , testType ).Error ()
0 commit comments