Skip to content

Commit c797679

Browse files
committed
Fix warnings
1 parent f408bbe commit c797679

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

minion-tests/src/tests/simple.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//! Tests that simple program that does nothing completes successfully.
22
use minion::ChildProcess;
3-
use minion::Dominion;
43

54
pub(crate) struct TOk;
65
impl crate::TestCase for TOk {
@@ -126,7 +125,7 @@ impl crate::TestCase for TOom {
126125
}
127126
}
128127

129-
fn check(&self, cp: &mut dyn ChildProcess, d: minion::DominionRef) {
128+
fn check(&self, _cp: &mut dyn ChildProcess, _d: minion::DominionRef) {
130129
// TODO this test is broken
131130
// super::assert_exit_code(cp, -9);
132131
// assert!(!d.check_cpu_tle().unwrap());
@@ -165,7 +164,7 @@ impl crate::TestCase for TSecurity {
165164
assert!(matches!(err, nix::Error::Sys(nix::errno::Errno::EPERM)));
166165
std::process::exit(24)
167166
}
168-
fn check(&self, cp: &mut dyn minion::ChildProcess, d: minion::DominionRef) {
167+
fn check(&self, cp: &mut dyn minion::ChildProcess, _d: minion::DominionRef) {
169168
super::assert_exit_code(cp, 24);
170169
super::assert_empty(&mut cp.stdout().unwrap());
171170
super::assert_empty(&mut cp.stderr().unwrap());

0 commit comments

Comments
 (0)