Commit 05afd962 authored by Brian Tiger Chow's avatar Brian Tiger Chow

add False method

parent c4f9a92e
......@@ -14,6 +14,10 @@ func True(v bool, t *testing.T, msgs ...string) {
}
}
func False(v bool, t *testing.T, msgs ...string) {
True(!v, t, msgs...)
}
func Err(err error, t *testing.T, msgs ...string) {
if err == nil {
t.Fatal(msgs, "error:", err)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment