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

test(stackable-versioned-macros): Use trybuild to test good/bad examples #849

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

NickLarsenNZ
Copy link
Member

Description

Part of stackabletech/issues#507

Some of the tests were just there to ensure code compiles, but they had no assertions.
This is a good opportunity to use trybuild to make passing and failing code examples.

I have also added docs to the trybuild.rs test which gives hints for test writers who might want to enable syntax highlighting and code completion.

Definition of Done Checklist

Reviewer

Preview Give feedback

Acceptance

Preview Give feedback

@NickLarsenNZ NickLarsenNZ added this pull request to the merge queue Aug 23, 2024
Merged via the queue into main with commit 68d0cb2 Aug 23, 2024
20 checks passed
@NickLarsenNZ NickLarsenNZ deleted the trybuild-macros branch August 23, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants