From 242624de9649e59c827a800cbf08090da478ba1a Mon Sep 17 00:00:00 2001 From: v2ray Date: Sat, 9 Jan 2016 00:22:50 +0100 Subject: [PATCH] fix test break --- proxy/vmess/protocol/vmess_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/proxy/vmess/protocol/vmess_test.go b/proxy/vmess/protocol/vmess_test.go index d56ef85c8..df5dc0d19 100644 --- a/proxy/vmess/protocol/vmess_test.go +++ b/proxy/vmess/protocol/vmess_test.go @@ -28,6 +28,14 @@ func (this *TestUser) Level() vmess.UserLevel { return this.level } +func (this *TestUser) AlterIDs() []*vmess.ID { + return nil +} + +func (this *TestUser) AnyValidID() *vmess.ID { + return this.id +} + func TestVMessSerialization(t *testing.T) { v2testing.Current(t)