[snowpatch] [PATCH] git: remove empty test

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Mar 27 18:01:10 AEDT 2017


The get_commit test doesn't actually have a test in it. Get rid of it until
we actually implement useful tests so as not to give false impressions.

Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
---

Already merged, for information only

---
 src/git.rs | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/git.rs b/src/git.rs
index 8443616..ccf8bdf 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -136,10 +136,3 @@ pub fn cred_from_settings(settings: &Git) -> Result<Cred, Error> {
                   Path::new(&settings.private_key),
                   passphrase)
 }
-
-#[cfg(test)]
-mod tests {
-    #[test]
-    fn get_commit() {
-    }
-}
-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the snowpatch mailing list