fix test break

pull/69/head
v2ray 2016-01-09 00:22:50 +01:00
parent 9d95b9ebae
commit 242624de96
1 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,14 @@ func (this *TestUser) Level() vmess.UserLevel {
return this.level 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) { func TestVMessSerialization(t *testing.T) {
v2testing.Current(t) v2testing.Current(t)