Skip to content

Commit c258507

Browse files
keiksnicoll
authored andcommitted
Fix typos
Closes gh-894
1 parent 95a56cd commit c258507

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,12 +377,12 @@ public void addContentDispositionHeader() throws Exception {
377377

378378
assertContentDisposition(processor, false, "/hello.json", "whitelisted extension");
379379
assertContentDisposition(processor, false, "/hello.pdf", "registered extension");
380-
assertContentDisposition(processor, true, "/hello.dataless", "uknown extension");
380+
assertContentDisposition(processor, true, "/hello.dataless", "unknown extension");
381381

382382
// path parameters
383383
assertContentDisposition(processor, false, "/hello.json;a=b", "path param shouldn't cause issue");
384-
assertContentDisposition(processor, true, "/hello.json;a=b;setup.dataless", "uknown ext in path params");
385-
assertContentDisposition(processor, true, "/hello.dataless;a=b;setup.json", "uknown ext in filename");
384+
assertContentDisposition(processor, true, "/hello.json;a=b;setup.dataless", "unknown ext in path params");
385+
assertContentDisposition(processor, true, "/hello.dataless;a=b;setup.json", "unknown ext in filename");
386386
assertContentDisposition(processor, false, "/hello.json;a=b;setup.json", "whitelisted extensions");
387387

388388
// encoded dot

0 commit comments

Comments
 (0)