Skip to content

Commit

Permalink
fix 编译错误
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Oct 16, 2013
1 parent 56f0cc7 commit 1e3cda7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/org/nutz/http/HttpTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void testPost() {
Map<String, Object> parms = new HashMap<String, Object>();
parms.put("version", "NutzTest");
parms.put("website", Nutz.version());
String response = Http.post("http://nutztest.herokuapp.com/", parms, "utf-8", "utf-8");
String response = Http.post("http://nutztest.herokuapp.com/", parms, 5*1000);
assertNotNull(response);
assertTrue(response.length() > 0);
// 该post的返回值是"version: #{params[:version]}, website: #{params[:website]}"
Expand Down

0 comments on commit 1e3cda7

Please sign in to comment.