Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix some unreachable code
Browse files Browse the repository at this point in the history
Signed-off-by: Abirdcfly <[email protected]>
Abirdcfly committed Aug 15, 2022
1 parent 4f81511 commit 65235f2
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion bfe_basic/condition/primitive_test.go
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion bfe_http2/server_test.go
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit 65235f2

Please sign in to comment.