Skip to content

Commit a818553

Browse files
Minor test improvements
1 parent c9ebbad commit a818553

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/list_vhosts_tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ fn list_vhosts() -> Result<(), Box<dyn std::error::Error>> {
2626
.stdout(predicate::str::contains("/").and(predicate::str::contains(vh)));
2727

2828
delete_vhost(vh).expect("failed to delete a virtual host");
29+
run_succeeds(["list", "vhosts"])
30+
.stdout(predicate::str::contains("/").and(predicate::str::contains(vh).not()));
2931

3032
Ok(())
3133
}

0 commit comments

Comments
 (0)