Skip to content

Commit

Permalink
test(vrd): updated test_main
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed May 10, 2023
1 parent ba89121 commit cfe9b45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_main.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#[cfg(test)]
mod tests {
use std::process;
use vrd::run;

#[test]
fn test_run() {
if let Err(err) = run() {
eprintln!("Error running vrd: {}", err);
process::exit(1);
}
assert_eq!(1, 1)
}
Expand Down

0 comments on commit cfe9b45

Please sign in to comment.