diff options
author | Teddy Wing | 2017-11-11 23:01:53 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-11 23:01:53 +0100 |
commit | dd76f4de394da3d9ce8cd19b853da10d56caf8cd (patch) | |
tree | eb0c9d6fb372423bb3106b959ad3e8265a5b249e /src/github.rs | |
parent | 7f369fe35557fab2e9d5c5693e41d238842dcf17 (diff) | |
download | kipper-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.rs | 2 |
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(); } |