1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-02 12:05:23 +00:00
v2fly/common/serial/typed_message_test.go
2017-10-24 16:15:35 +02:00

17 lines
232 B
Go

package serial_test
import (
"testing"
. "v2ray.com/core/common/serial"
. "v2ray.com/ext/assert"
)
func TestGetInstance(t *testing.T) {
assert := With(t)
p, err := GetInstance("")
assert(p, IsNil)
assert(err, IsNotNil)
}