Skip to content

Commit

Permalink
remove some fragment from coverage
Browse files Browse the repository at this point in the history
(the whole gen4tests could actually be ignore for coverage)
  • Loading branch information
carueda committed Dec 18, 2016
1 parent 09aed00 commit b4a918b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/tscfg/gen4tests.scala
Expand Up @@ -31,6 +31,7 @@ object gen4tests {

val fileName = className + "." + lang.toLowerCase
val targetFile = new File(targetScalaDir, fileName)
// $COVERAGE-OFF$
if (confFile.lastModified >= targetFile.lastModified) {
println(s"generating for $name -> $fileName")
val generator: Generator = lang match {
Expand All @@ -42,6 +43,7 @@ object gen4tests {
val out = new PrintWriter(new FileWriter(targetFile), true)
out.println(results.code)
}
// $COVERAGE-ON$
}
}
}

0 comments on commit b4a918b

Please sign in to comment.