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
This information can be parsed by editors like Vim to fill the quickfix list automatically and jump to the error, which is very helpful.
Unfortunately, the DifferencePredicate doesn't show this information:
---- test_no_yaml stdout ----
thread 'main' panicked at 'Unexpected stdout, failed diff var original
├── original: No test case found. Exuting.
├── diff:
--- value expected
+++ value actual
@@ -1 +1 @@
-No test case found. Exuting.
+No test case found. Exiting.
└── var as str: No test case found. Exiting.
Would it be possible to add this information to the output?
The text was updated successfully, but these errors were encountered:
I've been playing with similar and it's companion similar-asserts as a replacement of differences.rs, and the result is very clean. Maybe the predicate could make use of this crate?
Heya,
The regular assert_eq! macro provides the line containing the assert in its output:
This information can be parsed by editors like Vim to fill the quickfix list automatically and jump to the error, which is very helpful.
Unfortunately, the DifferencePredicate doesn't show this information:
Would it be possible to add this information to the output?
The text was updated successfully, but these errors were encountered: