mirror of https://github.com/v2ray/v2ray-core
fail fast
parent
1c29d1535c
commit
afe190316d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue