Skip to content

Commit

Permalink
tests updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouaix committed Jul 2, 2024
1 parent 3a523d8 commit 14d4111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scnr/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ mod tests {
#[test]
fn sample_to_console() -> anyhow::Result<()> {
let samples = get_samples_path()?;
test_scnr_scan_output(&format!("scnr scan -i {samples}"), 24, 7, 4, 2)
test_scnr_scan_output(&format!("scnr scan -i {samples}"), 54, 7, 4, 2)
}

#[test]
fn sample_to_console_sysdiag_profil() -> anyhow::Result<()> {
let samples = get_samples_path()?;
test_scnr_scan_output(&format!("scnr scan -i {samples} -p sysdiagnose"), 39, 7, 1, 3)
test_scnr_scan_output(&format!("scnr scan -i {samples} -p sysdiagnose"), 69, 7, 1, 3)
}

fn test_scnr_scan_output(
Expand Down

0 comments on commit 14d4111

Please sign in to comment.