Skip to content

Commit

Permalink
now everything is fine
Browse files Browse the repository at this point in the history
  • Loading branch information
angelip2303 committed Jun 8, 2023
1 parent 6b8168c commit b29c387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shape/shex.rs
Original file line number Diff line number Diff line change
@@ -539,8 +539,8 @@ impl Validate for Cardinality {
Bound::Exclusive(min) => count.to_owned().gt(lit(min)),
}
.and(match self.max {
Bound::Inclusive(max) => count.to_owned().lt_eq(lit(max)),
Bound::Exclusive(max) => count.to_owned().lt(lit(max)),
Bound::Inclusive(max) => count.lt_eq(lit(max)),
Bound::Exclusive(max) => count.lt(lit(max)),
}),
)
.then(

0 comments on commit b29c387

Please sign in to comment.