Skip to content

Commit

Permalink
Disable terminal coloring in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Mar 18, 2024
1 parent e346c2a commit 2aa70dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/integration.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
use std::{
env::var_os,
env::{set_var, var_os},
ffi::OsStr,
fs::{read_dir, read_to_string},
path::Path,
};

pub mod util;

#[ctor::ctor]
fn initialize() {
set_var("CARGO_TERM_COLOR", "never");
}

#[test]
fn integration() {
let test_cases = Path::new("tests/cases");
Expand Down

0 comments on commit 2aa70dd

Please sign in to comment.