Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Nov 29, 2018
1 parent a4a6db0 commit 56beee8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ fn test_config_json() {

#[test]
fn test_loaders_js() {
let args = &[
"config-gen",
"http://example.com",
];
let args = &["config-gen", "http://example.com"];
api_get(args.to_vec(), "/__bs/loaders.js", |result| {
let (_sys, _url, mut res) = result.expect("api returned");
let t = &res.text().expect("unwrap text response");
Expand Down

0 comments on commit 56beee8

Please sign in to comment.