aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2020-07-28 22:54:52 +0200
committerTeddy Wing2020-07-28 22:54:52 +0200
commit32327b7dbe2a3515542d2913b99ddfba0ae96511 (patch)
treea949235b1f097ed353b7b8edb7a501e33ceb81df /src
parentd052c1a9d3f06c32c92d9d36b0baa4cbb4d9c2c3 (diff)
downloadgit-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.
Diffstat (limited to 'src')
-rw-r--r--src/client.rs20
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);
- }
-}