Skip to content

Commit

Permalink
Merge pull request #2040 from dlsniper/covermode-atomic
Browse files Browse the repository at this point in the history
Use covermode atomic for tests coverage (fixes #2037)
  • Loading branch information
zolotov committed Nov 25, 2015
2 parents 58f9fd3 + 021f95d commit 273df35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/goide/runconfig/testing/GoTestRunningState.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ protected GoExecutor patchExecutor(@NotNull GoExecutor executor) throws Executio
}

if (myCoverageFilePath != null) {
executor.withParameters("-coverprofile=" + myCoverageFilePath, "-covermode=count");
executor.withParameters("-coverprofile=" + myCoverageFilePath, "-covermode=atomic");
}

return executor;
Expand Down

0 comments on commit 273df35

Please sign in to comment.