Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
sixcolors and coderabbitai[bot] committed Mar 11, 2024
1 parent af930bd commit 03e09c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/cors/cors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func Test_CORS_Invalid_Origin_URL_Panic(t *testing.T) {
}()

if !didPanic {
t.Errorf("Expected a panic when Origin is missing scheme")
t.Errorf("Expected a panic due to invalid origin URL pattern")
}
}

Expand Down

0 comments on commit 03e09c9

Please sign in to comment.