1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 22:36:12 -04:00

fail fast

This commit is contained in:
Darien Raymond 2017-10-20 23:54:07 +02:00
parent 1c29d1535c
commit afe190316d

View File

@ -19,8 +19,7 @@ type Assert struct {
}
func (v *Assert) Fail(message string) {
fmt.Println(decorate(message))
v.t.Fail()
v.t.Fatal(decorate(message))
}
func getCaller() (string, int) {