Skip to content

Commit

Permalink
test: fix implode running first when shuffled
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 20, 2024
1 parent 29077af commit 7b07258
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/implode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ impl Implode {
#[cfg(test)]
mod tests {
use crate::dirs;
use crate::test::reset;

#[test]
fn test_implode() {
reset();
let stdout = assert_cli!("implode", "--config", "--dry-run");
assert!(stdout.contains(format!("rm -rf {}", dirs::STATE.display()).as_str()));
assert!(stdout.contains(format!("rm -rf {}", dirs::DATA.display()).as_str()));
Expand Down

0 comments on commit 7b07258

Please sign in to comment.