Skip to content

Commit

Permalink
tests/cross_function_backtracking: don't use chain!
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
  • Loading branch information
Keruspe committed Oct 22, 2016
1 parent de6fa72 commit 0cf6662
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/cross_function_backtracking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ macro_rules! c (

#[cfg(feature = "verbose_errors")]
n!(pub foo< bool >,
chain!(
tag!("a") ~
cut!(nom::ErrorKind::Custom(42),dbg_dmp!(tag!("b"))) ,
|| { true }
do_parse!(
tag!("a") >>
cut!(nom::ErrorKind::Custom(42),dbg_dmp!(tag!("b"))) >>
(true)
)
);

Expand Down

0 comments on commit 0cf6662

Please sign in to comment.