Skip to content

Commit

Permalink
Merge pull request scoverage#95 from maiflai/issue_93
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Feb 1, 2015
2 parents 89f5846 + 6c3826e commit d5c07fa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,13 @@ class PluginCoverageTest
| } catch {
| case _: Throwable =>
| Option(true) match {
| case Some(bool) => return bool // comment this return and instrumentation succeeds
| case Some(bool) => return recover(bool) // comment this return and instrumentation succeeds
| case _ =>
| }
| false
| }
| }
| def recover(it: Boolean): Boolean = it
| }
""".stripMargin)
assert(!compiler.reporter.hasErrors)
Expand Down

0 comments on commit d5c07fa

Please sign in to comment.