Skip to content
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

Fix test relying on deprecated behavior comparing language objects #5986

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

MichaelChirico
Copy link
Member

Closes #5977

This test was relying on a being defined earlier in the suite (a=quote(a%%2L), L1671). The test is really looking for a logical input to i= in set(), so this simple fix suffices.

More generally, this points to a problem we have in our suite with non-hermetic tests potentially being "infected" by objects defined 100s of lines away.

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.49%. Comparing base (a8a595f) to head (ebdeb8e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5986   +/-   ##
=======================================
  Coverage   97.49%   97.49%           
=======================================
  Files          80       80           
  Lines       14861    14861           
=======================================
  Hits        14488    14488           
  Misses        373      373           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MichaelChirico MichaelChirico merged commit 15c127e into master Mar 8, 2024
5 checks passed
@MichaelChirico MichaelChirico deleted the test-eq branch March 8, 2024 03:29
MichaelChirico added a commit that referenced this pull request Mar 8, 2024
…5986)

* fix test relying on deprecated behavior comparing language objects

* NEWS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comparison operators will not work with language objects in R-devel
2 participants