Skip to content

Fix custom strip test #5278

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

Merged
merged 1 commit into from
Apr 21, 2023
Merged

Fix custom strip test #5278

merged 1 commit into from
Apr 21, 2023

Conversation

teunbrand
Copy link
Collaborator

It recently came to my attention in #5273 (comment) that a visual test wasn't testing what it should.

Briefly, the test is supposed to test whether custom element_*() classes can be drawn in strips. However, the element_grob.element_test() method wasn't recognised in the expect_doppelganger() test. This PR fixes the test by registering the method.

Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

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

Good catch

@teunbrand teunbrand merged commit dcd1eb2 into tidyverse:main Apr 21, 2023
@teunbrand teunbrand deleted the fix_strip_test branch April 21, 2023 16:08
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.

2 participants