mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
fail fast
This commit is contained in:
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
Block a user