pkg/engine/contract_errors_test.go::TestContract_Errors_MultidocBridgeAsGateway_NoLongerFails is a negative pin that asserts the bridge-as-gateway path does NOT fail after PR #163 landed proper BridgeConfig emission (symmetric to BondConfig).
The test's location in contract_errors_test.go suggests an error contract; a future reader landing there will expect a fail-test and find an assert-clean-render test instead. The previous name TestContract_Errors_MultidocBridgeAsGateway did pin an error contract, then was inverted in #163 when BridgeConfig started rendering — but the file location wasn't updated.
Fix
Move the test to pkg/engine/contract_network_multidoc_test.go next to TestContract_NetworkMultidoc_BridgeConfigEmitted so the file location matches the contract being pinned. Pure file-move, no test logic change.
Reference: PR #163 review, cosmetic.
pkg/engine/contract_errors_test.go::TestContract_Errors_MultidocBridgeAsGateway_NoLongerFailsis a negative pin that asserts the bridge-as-gateway path does NOT fail after PR #163 landed properBridgeConfigemission (symmetric toBondConfig).The test's location in
contract_errors_test.gosuggests an error contract; a future reader landing there will expect a fail-test and find an assert-clean-render test instead. The previous nameTestContract_Errors_MultidocBridgeAsGatewaydid pin an error contract, then was inverted in #163 whenBridgeConfigstarted rendering — but the file location wasn't updated.Fix
Move the test to
pkg/engine/contract_network_multidoc_test.gonext toTestContract_NetworkMultidoc_BridgeConfigEmittedso the file location matches the contract being pinned. Pure file-move, no test logic change.Reference: PR #163 review, cosmetic.