Skip to content

Commit

Permalink
Merge pull request #479 from epage/release
Browse files Browse the repository at this point in the history
test: Update for asserts being cut
  • Loading branch information
epage authored Feb 19, 2024
2 parents 94604c0 + fcfbc0e commit 184fbf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/combinator/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ fn separated0_empty_sep_test() {
let i_err_pos = &i[3..];
assert_eq!(
empty_sep(Partial::new(i)),
Err(ErrMode::Backtrack(error_position!(
Err(ErrMode::Cut(error_position!(
&Partial::new(i_err_pos),
ErrorKind::Assert
)))
Expand Down Expand Up @@ -922,7 +922,7 @@ fn repeat0_empty_test() {

assert_eq!(
multi_empty(Partial::new(&b"abcdef"[..])),
Err(ErrMode::Backtrack(error_position!(
Err(ErrMode::Cut(error_position!(
&Partial::new(&b"abcdef"[..]),
ErrorKind::Assert
)))
Expand Down Expand Up @@ -1246,7 +1246,7 @@ fn fold_repeat0_empty_test() {

assert_eq!(
multi_empty(Partial::new(&b"abcdef"[..])),
Err(ErrMode::Backtrack(error_position!(
Err(ErrMode::Cut(error_position!(
&Partial::new(&b"abcdef"[..]),
ErrorKind::Assert
)))
Expand Down

0 comments on commit 184fbf4

Please sign in to comment.