aboutsummaryrefslogtreecommitdiffstats
path: root/src/github.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-09 20:10:50 +0100
committerTeddy Wing2017-11-09 20:10:50 +0100
commitda35bf4c3ab514e417244aae1d1923487f558584 (patch)
tree5cb808f5effa60a0d851785769c3753b3fa0efc4 /src/github.rs
parent69b930565a118f1f9890492e9f3130e23091b398 (diff)
downloadkipper-da35bf4c3ab514e417244aae1d1923487f558584.tar.bz2
Correct tests after 69b930565a118f1f9890492e9f3130e23091b398
Now that a bunch of function signatures have been rewritten to take references, update the tests to pass the correct arguments.
Diffstat (limited to 'src/github.rs')
-rw-r--r--src/github.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github.rs b/src/github.rs
index 0eb85b0..6cabbfd 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -90,8 +90,8 @@ mod tests {
};
update_commit_status(
- commit_ref,
- CommitStatus::Success,
+ &commit_ref,
+ &CommitStatus::Success,
"https://jenkins.example.com/job/octocat/3".to_string(),
None,
"continuous-integration/jenkins".to_string()