Skip to content

Commit 347b37c

Browse files
author
Yuri Schimke
committed
fix tests
1 parent 8668b2b commit 347b37c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

okcurl/src/test/java/com/squareup/okhttp/curl/MainTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class MainTest {
4545
RequestBody body = request.body();
4646
assertEquals("POST", request.method());
4747
assertEquals("http://example.com/", request.urlString());
48-
assertEquals("application/x-form-urlencoded; charset=utf-8", body.contentType().toString());
48+
assertEquals("application/x-www-form-urlencoded; charset=utf-8", body.contentType().toString());
4949
assertEquals("foo", bodyAsString(body));
5050
}
5151

@@ -54,7 +54,7 @@ public class MainTest {
5454
RequestBody body = request.body();
5555
assertEquals("PUT", request.method());
5656
assertEquals("http://example.com/", request.urlString());
57-
assertEquals("application/x-form-urlencoded; charset=utf-8", body.contentType().toString());
57+
assertEquals("application/x-www-form-urlencoded; charset=utf-8", body.contentType().toString());
5858
assertEquals("foo", bodyAsString(body));
5959
}
6060

0 commit comments

Comments
 (0)