Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2162 from ethcore/jsonrpc-bump
Browse files Browse the repository at this point in the history
Bumping jsonrpc-core & jsonrpc-http-server
  • Loading branch information
rphmeier authored Sep 19, 2016
2 parents 7f7e748 + 98ee2e4 commit 48be609
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dapps/src/tests/redirection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ fn should_serve_rpc() {

// then
assert_eq!(response.status, "HTTP/1.1 200 OK".to_owned());
assert_eq!(response.body, format!("57\n{}\n0\n\n", r#"{"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error","data":null},"id":null}"#));
assert_eq!(response.body, format!("58\n{}\n\n0\n\n", r#"{"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error","data":null},"id":null}"#));
}

#[test]
Expand All @@ -137,7 +137,7 @@ fn should_serve_rpc_at_slash_rpc() {

// then
assert_eq!(response.status, "HTTP/1.1 200 OK".to_owned());
assert_eq!(response.body, format!("57\n{}\n0\n\n", r#"{"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error","data":null},"id":null}"#));
assert_eq!(response.body, format!("58\n{}\n\n0\n\n", r#"{"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error","data":null},"id":null}"#));
}


Expand Down

0 comments on commit 48be609

Please sign in to comment.