mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-07 06:08:58 +00:00
don't export module/processor/framer registrations
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
func TestMIDIMessageUnpackFromRegistry(t *testing.T) {
|
||||
registration, ok := processor.ProcessorRegistry["midi.message.unpack"]
|
||||
registration, ok := processor.GetProcessorRegistration("midi.message.unpack")
|
||||
if !ok {
|
||||
t.Fatalf("midi.message.unpack processor not registered")
|
||||
}
|
||||
@@ -121,7 +121,7 @@ func TestBadMIDIMessageUnpack(t *testing.T) {
|
||||
for _, test := range tests {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
|
||||
registration, ok := processor.ProcessorRegistry["midi.message.unpack"]
|
||||
registration, ok := processor.GetProcessorRegistration("midi.message.unpack")
|
||||
if !ok {
|
||||
t.Fatalf("midi.message.unpack processor not registered")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user