mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-01 06:55:25 -05:00
first part to move feature interfaces into dedicated directory
This commit is contained in:
@@ -3,14 +3,14 @@ package outbound_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"v2ray.com/core"
|
||||
. "v2ray.com/core/app/proxyman/outbound"
|
||||
"v2ray.com/core/features/outbound"
|
||||
. "v2ray.com/ext/assert"
|
||||
)
|
||||
|
||||
func TestInterfaces(t *testing.T) {
|
||||
assert := With(t)
|
||||
|
||||
assert((*Handler)(nil), Implements, (*core.OutboundHandler)(nil))
|
||||
assert((*Manager)(nil), Implements, (*core.OutboundHandlerManager)(nil))
|
||||
assert((*Handler)(nil), Implements, (*outbound.Handler)(nil))
|
||||
assert((*Manager)(nil), Implements, (*outbound.HandlerManager)(nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user