diff --git a/bfe_basic/condition/primitive_test.go b/bfe_basic/condition/primitive_test.go index 8ee6a9da..5144512a 100644 --- a/bfe_basic/condition/primitive_test.go +++ b/bfe_basic/condition/primitive_test.go @@ -234,7 +234,6 @@ func TestContextValueFetcher(t *testing.T) { contextVal, err := hf.Fetch(req) if err != nil { t.Fatalf("Fetch(): %v", err) - t.FailNow() } // check diff --git a/bfe_http2/server_test.go b/bfe_http2/server_test.go index 9030b1e0..09c7a44f 100644 --- a/bfe_http2/server_test.go +++ b/bfe_http2/server_test.go @@ -3000,7 +3000,6 @@ func TestNoRstPostAfterGOAWAY(t *testing.T) { } if gf, ok := f.(*RSTStreamFrame); ok && gf.StreamID == 1 { t.Fatal("got rst but want no ret") - break } }