dispatch: Fix TestMuxPublish (#1256)

This commit is contained in:
Adrian Gallagher
2023-07-06 16:56:24 +10:00
committed by GitHub
parent 2a6581bd57
commit 489bbb1676

View File

@@ -536,7 +536,7 @@ func TestMuxPublish(t *testing.T) {
}
// demonstrate that jobs go back to not being sent after unsubscribing
err = mux.Unsubscribe(itemID, pipe.C)
err = mux.Unsubscribe(itemID, pipe.c)
if !errors.Is(err, nil) {
t.Fatalf("received: '%v' but expected: '%v'", err, nil)
}