summaryrefslogtreecommitdiff
path: root/src/exercise.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/exercise.rs')
-rw-r--r--src/exercise.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exercise.rs b/src/exercise.rs
index 2108d81..e70538b 100644
--- a/src/exercise.rs
+++ b/src/exercise.rs
@@ -167,9 +167,10 @@ path = "{}.rs""#,
fn run(&self) -> Result<ExerciseOutput, ExerciseOutput> {
let arg = match self.mode {
Mode::Test => "--show-output",
- _ => ""
+ _ => "",
};
- let cmd = Command::new(&temp_file()).arg(arg)
+ let cmd = Command::new(&temp_file())
+ .arg(arg)
.output()
.expect("Failed to run 'run' command");