Skip to content

Commit

Permalink
update rules deserialization test
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimryndin committed May 21, 2024
1 parent 3e3df5b commit 7d4e685
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rules/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,8 @@ mod tests {
None,
);
assert!(
rule.is_none(),
"test assert: `is` cannot be a condition for a text value"
rule.is_some(),
"test assert: `is` can be a condition for a text value"
);

let rule = Rule::try_from_values(
Expand Down Expand Up @@ -523,8 +523,8 @@ mod tests {
None,
);
assert!(
rule.is_none(),
"test assert: `is not` cannot be a condition for a text value"
rule.is_some(),
"test assert: `is not` can be a condition for a text value"
);

let rule = Rule::try_from_values(
Expand Down

0 comments on commit 7d4e685

Please sign in to comment.