diff options
| author | mo8it <mo8it@proton.me> | 2024-04-27 04:14:59 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-27 04:14:59 +0200 |
| commit | c82c3673245ca11d455b067c97fadda4a8406cb9 (patch) | |
| tree | 42b2a226714a5f5f97797f74611dd7d3fd3d183b /src/run.rs | |
| parent | dc5c72bc19951313e80f038961fb446bd6ea02f5 (diff) | |
Respect the target-dir config and show tests' output
Diffstat (limited to 'src/run.rs')
| -rw-r--r-- | src/run.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ use crate::{ pub fn run(app_state: &mut AppState) -> Result<()> { let exercise = app_state.current_exercise(); let mut output = Vec::with_capacity(OUTPUT_CAPACITY); - let success = exercise.run(&mut output)?; + let success = exercise.run(&mut output, app_state.target_dir())?; let mut stdout = io::stdout().lock(); stdout.write_all(&output)?; |
