-
Notifications
You must be signed in to change notification settings - Fork 333
Add more informative feedback in expect_named()
#2130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
EmilHvitfeldt
wants to merge
13
commits into
r-lib:main
Choose a base branch
from
EmilHvitfeldt:more-informative-expect_named
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0746701
add special case handling in expect_named when ignore.order = TRUE
EmilHvitfeldt 5e721a3
Merge commit '9bfe1314e075a1b3bce3eb32dbd33fa795a869ea'
EmilHvitfeldt 78f4a4a
switch expect_named() from using expect() to pass()/fail()
EmilHvitfeldt 0e291ff
Merge commit 'f56ecfd74fef2714e2e98027383a8d458c9c36fc'
EmilHvitfeldt 594be56
extract out expect_has_names_()
EmilHvitfeldt 8f59d34
refactor out expect_setequal_()
EmilHvitfeldt cb09657
use expect_setequal_() in expect_named()
EmilHvitfeldt 13cc3e2
use expect_waldo_equal_() in expect_named()
EmilHvitfeldt b29cd06
add error_prefix to expect_setequal_() and expect_waldo_equal_()
EmilHvitfeldt e9e5812
remove redundency in act_names
EmilHvitfeldt 81e4ee8
add news
EmilHvitfeldt 22bf125
add test for glue strings in expect_named()
EmilHvitfeldt ea71d8a
add missing trace_env arg in expect_nas_names_()
EmilHvitfeldt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The addition of
error_prefix
here and inexpect_setequal_()
are done to avoid duplication of these function by allowing me to add"Names of "
, otherwise I would need some gnarly$lab
modifications