Skip to content

Commit 66826ac

Browse files
Xxpainsbrannen
authored andcommitted
Fix typo in Javadoc in HeaderAssertions
Closes gh-27589
1 parent a603779 commit 66826ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-test/src/main/java/org/springframework/test/web/reactive/server/HeaderAssertions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public WebTestClient.ResponseSpec valueMatches(String name, String pattern) {
115115
/**
116116
* Match all values of the response header with the given regex
117117
* patterns which are applied to the values of the header in the
118-
* same order. Note that the number of pattenrs must match the
118+
* same order. Note that the number of patterns must match the
119119
* number of actual values.
120120
* @param name the header name
121121
* @param patterns one or more regex patterns, one per expected value

0 commit comments

Comments
 (0)