Ignored URLs don't lead to failing exit code

This commit is contained in:
Matthias 2023-02-27 22:58:03 +01:00 committed by Matthias Endler
parent c549213bfe
commit 17937537f8
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ impl ResponseStats {
#[inline]
pub(crate) const fn is_success(&self) -> bool {
self.total == self.successful + self.excludes
self.total == self.successful + self.excludes + self.unsupported
}
#[inline]

View file

@ -212,7 +212,7 @@ mod cli {
.env_clear()
.assert()
.success()
.stdout(contains("2 Total"))
.stdout(contains("3 Total"))
.stdout(contains("1 OK"))
.stdout(contains("1 Excluded"));
}