diff options
author | Teddy Wing | 2020-07-28 22:54:52 +0200 |
---|---|---|
committer | Teddy Wing | 2020-07-28 22:54:52 +0200 |
commit | 32327b7dbe2a3515542d2913b99ddfba0ae96511 (patch) | |
tree | a949235b1f097ed353b7b8edb7a501e33ceb81df | |
parent | d052c1a9d3f06c32c92d9d36b0baa4cbb4d9c2c3 (diff) | |
download | git-suggestion-32327b7dbe2a3515542d2913b99ddfba0ae96511.tar.bz2 |
client.rs: Remove superfluous test
I had written this to check the response from the server and the
'github-rs' library. Remove it since it makes a network request.
-rw-r--r-- | src/client.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/client.rs b/src/client.rs index d6cf629..0625443 100644 --- a/src/client.rs +++ b/src/client.rs @@ -50,23 +50,3 @@ impl<'a> Client<'a> { } } } - - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - #[ignore] - fn suggestion_fetch_gets_pull_request_comment() { - let client = Client::new( - env!("GITHUB_TOKEN"), - "cli", - "cli", - ); - - let suggestion = client.fetch("438947607").unwrap(); - - println!("{:?}", suggestion); - } -} |