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

Commit

Permalink
Merge pull request #50 from WrinklyNinja/dependabot/cargo/serde_json-…
Browse files Browse the repository at this point in the history
…1.0.26

Bump serde_json from 1.0.24 to 1.0.26
  • Loading branch information
Ortham authored Aug 15, 2018
2 parents 2502df6 + 0d424e1 commit 3875435
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
16 changes: 11 additions & 5 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 src/bin/common/server/actix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ mod tests {
"application/json"
);

let expected_json = "{\"locations\":[{\"path\":\"tests/assets/photo.jpg\",\"location\":{\"Existing\":{\"latitude\":38.76544,\"longitude\":-9.094802222222223}}}],\"start_index\":0,\"stop_index\":1}";
let expected_json = "{\"locations\":[{\"path\":\"tests/assets/photo.jpg\",\"location\":{\"Existing\":{\"latitude\":38.76544,\"longitude\":-9.094802222222222}}}],\"start_index\":0,\"stop_index\":1}";

assert_eq!(&response_json(&response), expected_json);
}
Expand All @@ -379,7 +379,7 @@ mod tests {
"application/json"
);

let expected_json = "{\"path\":\"tests/assets/photo.jpg\",\"location\":{\"Existing\":{\"latitude\":38.76544,\"longitude\":-9.094802222222223}}}";
let expected_json = "{\"path\":\"tests/assets/photo.jpg\",\"location\":{\"Existing\":{\"latitude\":38.76544,\"longitude\":-9.094802222222222}}}";

assert_eq!(&response_json(&response), expected_json);
}
Expand Down

0 comments on commit 3875435

Please sign in to comment.