A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.
Assert that a message was produced at a given position.
Assert that a message was produced at a given position.
Try to parse str as a T, which is expected to fail with a fatal error or failure (given by iserr parameter, which defaults to failure).
Try to parse str as a T, which is expected to fail with a fatal error or failure (given by iserr parameter, which defaults to failure). Fail the test if the expected NoSuccess doesn't eventuate. The NoSuccess is described by the line and column numbers where it occurs and the message that is produced. All of them have to be correct.
Try to parse str as a T, which is expected to work and produce the given result.
Try to parse str as a T, which is expected to work and produce the given result. Assert a failure if it doesn't or if it doesn't consume all of the input.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
(Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Compare two values.
Compare two values. Use reference equality for references and value equality for non-references. If the values are both Some values, perform the check on the wrapped values.