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

bash: The line after a backslash should have the same coverage as it's parent #74

Open
SimonKagstrom opened this issue Mar 12, 2015 · 0 comments
Labels

Comments

@SimonKagstrom
Copy link
Owner

Code like

test 1 -gt 2 -o \
     "${var[$((${#var[*]} - 1))]}" != "c" ||
    {
    echo "Some line"
    }

(from Issue #70) will show the "test 1 ..." line as covered but the line after as no-code. It would be more logical to make all backslashed lines have the same coverage as the first line.

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

No branches or pull requests

1 participant