You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.
git diffs provide some context and line numbers. If the output is really huge and lines are similar, this might be helpful - but certainly not straightforward. Should probably even be implement upstream first in the difference crate.
I'm assuming this issue is about .is() output predicate (formerly prints_exactly).
While line numbers aren't included, I am seeing the context being given
---- experiment stdout ----
thread 'experiment' panicked at 'CLI assertion failed: `echo Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.` StdOut mismatch: diff:
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
-sed do eiusmod tempor **incididunt** ut labore et dolore magna
+sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
', /home/epage/git/assert_cli/src/assert.rs:289:12
(output tweaked slightly for some experiments I'm doing)
Just a random idea. :-)
git diffs provide some context and line numbers. If the output is really huge and lines are similar, this might be helpful - but certainly not straightforward. Should probably even be implement upstream first in the
difference
crate.instead of
The text was updated successfully, but these errors were encountered: