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

Lint nf-test snapshots for the word "false" #3346

Open
mahesh-panchal opened this issue Dec 11, 2024 · 0 comments
Open

Lint nf-test snapshots for the word "false" #3346

mahesh-panchal opened this issue Dec 11, 2024 · 0 comments

Comments

@mahesh-panchal
Copy link
Member

Description of feature

Sometimes we can only check if the contents of a file contains a specific string.
It can be quite easy to miss that the contains check when generating the snapshot was false

    "sarscov2 illumina paired-end [fastq_gz]": {
        "content": [
            [
                "versions.yml:md5,7b5a545483277cc0ff9189f8891e737f"
            ],
            [
                false
            ]
        ]

It would be good to fail linting in these cases.

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

No branches or pull requests

1 participant