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

kcov multi-line strings not covered #335

Open
m5d215 opened this issue Aug 24, 2020 · 1 comment
Open

kcov multi-line strings not covered #335

m5d215 opened this issue Aug 24, 2020 · 1 comment

Comments

@m5d215
Copy link

m5d215 commented Aug 24, 2020

The coverage can not reach 100% with the following multi-line strings.

#!/bin/bash

echo "1
2
3"

echo "
4
5
"

echo '6
7
8'

echo '
9
10
'

echo "
11
12" "
13
14"

Is there a way to get 100% coverage?

Best regards.


Related issues
#164

@SimonKagstrom
Copy link
Owner

Well, both this and #164 are probably only properly solved when #145 is implemented. The parsing of Bash scripts is very basic, so it doesn't properly handle a lot of the bash peculiarities (of which there are many!).

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

No branches or pull requests

2 participants