Skip to content

Heredoc is not reported as covered #102

@carlfriedrich

Description

@carlfriedrich

I am using bashcov 3.2.0. See the following script:

#!/usr/bin/env bash

cat << EOF > test.txt
This is some file content
EOF

Then I run bashcov on it:

bashcov ./test.sh

And I get the following report:

Image

The file is correctly created with the given content , so the heredoc has been evaluated. bashcov does not report the corresponding lines as covered, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions