diff --git a/internal/processor/test/processor_test.go b/internal/processor/test/processor_test.go index 76e8173..95eb3bf 100644 --- a/internal/processor/test/processor_test.go +++ b/internal/processor/test/processor_test.go @@ -8,6 +8,18 @@ import ( "github.com/jwetzell/showbridge-go/internal/processor" ) +type TestStruct struct { + String string + Int int + Float float64 + Bool bool + Data any +} + +func (t TestStruct) GetData() any { + return t.Data +} + type TestProcessor struct { } diff --git a/internal/processor/test/string-create_test.go b/internal/processor/test/string-create_test.go index 691df93..ccc9572 100644 --- a/internal/processor/test/string-create_test.go +++ b/internal/processor/test/string-create_test.go @@ -7,14 +7,6 @@ import ( "github.com/jwetzell/showbridge-go/internal/processor" ) -type TestStruct struct { - Data string -} - -func (t TestStruct) GetData() string { - return t.Data -} - func TestStringCreateFromRegistry(t *testing.T) { registration, ok := processor.ProcessorRegistry["string.create"] if !ok {