mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-10 23:49:25 +00:00
fix error message in test
This commit is contained in:
+1
-1
@@ -239,7 +239,7 @@ func TestRouterInputUnknownDestinationModule(t *testing.T) {
|
|||||||
t.Fatalf("router should have returned exactly 1 routing error, got: %d", len(routingErrors))
|
t.Fatalf("router should have returned exactly 1 routing error, got: %d", len(routingErrors))
|
||||||
}
|
}
|
||||||
|
|
||||||
if routingErrors[0].ProcessError.Error() != "module.output unable to find module with id: test" {
|
if routingErrors[0].ProcessError.Error() != "processor[0] error: module.output unable to find module with id: test" {
|
||||||
t.Fatalf("routing output error did not match expected, got: %s", routingErrors[0].ProcessError.Error())
|
t.Fatalf("routing output error did not match expected, got: %s", routingErrors[0].ProcessError.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user