diff --git a/src/options/level_tuning.rs b/src/options/level_tuning.rs index f9e2ab66..c59f61c7 100644 --- a/src/options/level_tuning.rs +++ b/src/options/level_tuning.rs @@ -127,12 +127,14 @@ mod tests { fn rule_level_level_error_file() -> Result<(), String> { let level_tuning_config_path = "./test_files/config/level_tuning_error2.txt"; let res = LevelTuning::run(level_tuning_config_path); - let expected = Result::Err("level tuning file's level must in informational, low, medium, high, critical".to_string()); + let expected = Result::Err( + "level tuning file's level must in informational, low, medium, high, critical" + .to_string(), + ); assert_eq!(res, expected); Ok(()) } - // TODO: make test option for read ./test_files/rules/ dir. // #[test] // fn test_detect_mutiple_regex_and() {