-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
excoveralls reports function calls interpolated in second line of <> as uncovered #3444
Comments
Can you please verify this has been fixed in Elixir master? |
I don't think it worked. Doing Do I have to do something other than run mix with the full path to the elixir-lang/elixir to ensure the development copy is used over the homebrew copy? (Note: I did |
@KronicDeth No, mix will always use the one in your path. Try this:
And then you will run it with elixir. A good way to check is always by calling "mix -v". |
... but only after cleaning and rebuilding the project. Originally, I had this error: After doing I then added some parentheses
Is it expected that I would have had to recompile when going from 1.0.5 to master? |
No. I will work on it. Thanks. :) |
(Opened in response to @josevalim's request on elixir-lang-talk
git clone git@github.com:KronicDeth/excoveralls_string_concatenation.git
cd excoveralls_string_concatenation.git
mix deps.get
MIX_ENV=test mix coveralls.detail | less
Actual
Calls to
func
are marked as missed (red) when interpolated in second line of a two line string concatenation<>
:Expected
Calls to
func
are marked as hit (green).Other test cases
Call location
func
is marked as hit when interpolated in the first line of a two line string concatenation or by itself:Interpolated value
Expressions that are compile time constants, such as
1 + 1
, are marked as hit:The text was updated successfully, but these errors were encountered: