Skip to content

test: remove top-level code in test-indexing.R#1085

Merged
aviator-app[bot] merged 5 commits intomainfrom
refactor-indexing-test
Jan 16, 2024
Merged

test: remove top-level code in test-indexing.R#1085
aviator-app[bot] merged 5 commits intomainfrom
refactor-indexing-test

Conversation

@maelle
Copy link
Copy Markdown
Contributor

@maelle maelle commented Jan 8, 2024

@szhorvat if am() and mm() had longer names, what would those be? I'd like to replace them with longer, more informative names.

Removing top-level code in test files help make each test more self-contained, therefore easier to re-run interactively when it fails (as happens in #1080)

Part of #1082

@aviator-app
Copy link
Copy Markdown
Contributor

aviator-app Bot commented Jan 8, 2024

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.

Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@maelle
Copy link
Copy Markdown
Contributor Author

maelle commented Jan 8, 2024

@szhorvat based on your input I'll rename the two functions (if you agree!) then once it's merged I can rebase #1080 and remove the test that's failing there (it's failing because it's using edges, which we now expect to not work).

@szhorvat
Copy link
Copy Markdown
Member

szhorvat commented Jan 8, 2024

I'm not sure what these names are referring to.

Comment thread tests/testthat/helper-indexing.R Outdated
Comment thread tests/testthat/helper-indexing.R Outdated
@maelle maelle requested a review from szhorvat January 8, 2024 12:55
@maelle maelle force-pushed the refactor-indexing-test branch from c4992aa to ed98ece Compare January 15, 2024 12:37
@maelle maelle requested a review from krlmlr January 15, 2024 12:38
Copy link
Copy Markdown
Member

@szhorvat szhorvat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think my review is needed, but just to dismiss the yellow "review requested" bar.

@maelle maelle removed the request for review from krlmlr January 16, 2024 08:11
@maelle maelle force-pushed the refactor-indexing-test branch from ed98ece to 77a98ca Compare January 16, 2024 08:11
@aviator-app aviator-app Bot force-pushed the refactor-indexing-test branch from 77a98ca to 7e19c99 Compare January 16, 2024 09:56
@aviator-app aviator-app Bot merged commit aef45ea into main Jan 16, 2024
@aviator-app aviator-app Bot deleted the refactor-indexing-test branch January 16, 2024 10:26
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants