aboutsummaryrefslogtreecommitdiffstats
path: root/src/github.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-11 23:01:53 +0100
committerTeddy Wing2017-11-11 23:01:53 +0100
commitdd76f4de394da3d9ce8cd19b853da10d56caf8cd (patch)
treeeb0c9d6fb372423bb3106b959ad3e8265a5b249e /src/github.rs
parent7f369fe35557fab2e9d5c5693e41d238842dcf17 (diff)
downloadkipper-dd76f4de394da3d9ce8cd19b853da10d56caf8cd.tar.bz2
Handle `Result` return values in tests
Update our failing test suite to work with our new return types now that many of our functions return `Result`s. Since these are tests, we handle them by panicking with error messages.
Diffstat (limited to 'src/github.rs')
-rw-r--r--src/github.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github.rs b/src/github.rs
index f24d1f0..731d261 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -104,7 +104,7 @@ mod tests {
"https://jenkins.example.com/job/octocat/3".to_string(),
None,
"continuous-integration/jenkins".to_string()
- );
+ ).expect("Failed to update commit status");
mock.assert();
}