Skip to content

nf-lang: Add unit tests for formatting #6002

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 3 commits into from
Apr 24, 2025
Merged

nf-lang: Add unit tests for formatting #6002

merged 3 commits into from
Apr 24, 2025

Conversation

bentsherman
Copy link
Member

This PR adds more unit tests for formatting statements and expressions (and fixes a few bugs I found along the way)

As a bonus it also tests that these code snippets are parsed correctly

From now on, if someone reports a parsing/formatting bug, we need only add a regression test to this test suite

Signed-off-by: Ben Sherman <[email protected]>
@bentsherman bentsherman requested a review from pditommaso April 23, 2025 21:12
@bentsherman bentsherman requested review from a team as code owners April 23, 2025 21:12
Copy link

netlify bot commented Apr 23, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 2e899da
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/68098f254a0ab90008564d76

Copy link
Collaborator

@christopher-hakkaart christopher-hakkaart left a comment

Choose a reason for hiding this comment

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

Docs look great.

@bentsherman bentsherman merged commit 453ab6a into master Apr 24, 2025
21 of 23 checks passed
@bentsherman bentsherman deleted the lang-unit-tests branch April 24, 2025 12:43
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.

3 participants