Do better showing differences between x,y in test() failure#7836
Open
MichaelChirico wants to merge 6 commits into
Open
Do better showing differences between x,y in test() failure#7836MichaelChirico wants to merge 6 commits into
MichaelChirico wants to merge 6 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## other-attach-order #7836 +/- ##
===================================================
Coverage 99.01% 99.01%
===================================================
Files 88 88
Lines 17234 17234
===================================================
Hits 17065 17065
Misses 169 169 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
MichaelChirico
force-pushed
the
test-err-show-diff
branch
from
July 24, 2026 06:05
5b2a826 to
011f20c
Compare
|
No obvious timing issues in HEAD=test-err-show-diff Generated via commit f93fce1 Download link for the artifact containing the test results: ↓ atime-results.zip
|
MichaelChirico
force-pushed
the
test-err-show-diff
branch
from
July 24, 2026 14:21
be7111c to
6f23983
Compare
MichaelChirico
force-pushed
the
test-err-show-diff
branch
from
July 24, 2026 16:48
6f23983 to
f93fce1
Compare
ben-schwen
reviewed
Jul 25, 2026
Member
|
Also not 100% satisfied with the index representation. Maybe something like First 6 of 980 differing elements (1000 total):
index x y
11 11 20
12 12 19
13 13 18
14 14 17
15 15 16
16 16 15
Types: x integer, y integer |
ben-schwen
reviewed
Jul 25, 2026
Member
Author
The problem with this one is it requires a bit more of a refactor since the current approach is "show x difference then show y difference" as opposed to "show a holistic comparison of x,y". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #7834. NB: merge target is not
mastercurrentlyOutput from
test(1, c(1:10, 11:20, 30:21, 31:1000), c(1:10, 20:11, 30:21, 1000:31))It's a bit visually dense; we might prefer this alternative using a matrix representation:
See also other test cases:
A case that's still not completely satisfactory -- it gives the impression of showing
x[11] == y[11]-- but I'm willing to ignore for now: