Skip to content

Commit

Permalink
fix test on go 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyahui committed Dec 29, 2023
1 parent 45e29b1 commit 406f5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func TestHeader(t *testing.T) {

{
engine.ServeHTTP(testWriter, testRequest)
value := testWriter.Header().Values("test_header_key")
value := testWriter.Header().Get("test_header_key")
assert.Equal(t, "test_header_value2", value)
}

Expand Down

0 comments on commit 406f5aa

Please sign in to comment.