Skip to content

Commit 2a76966

Browse files
committed
Reformat with scalafmt 3.9.9
Executed command: scalafmt --non-interactive
1 parent 9c76f12 commit 2a76966

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

domain/src/main/scala/scoverage/domain/CodeGrid.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class CodeGrid(mFile: MeasuredFile, sourceEncoding: Option[String]) {
3434
// in that block were executed
3535
cells(k).status match {
3636
case Invoked => if (!stmt.isInvoked) cells(k).status = NotInvoked
37-
case NoData =>
37+
case NoData =>
3838
if (!stmt.isInvoked) cells(k).status = NotInvoked
3939
else if (stmt.isInvoked) cells(k).status = Invoked
4040
case NotInvoked =>

plugin/src/main/scala/scoverage/CoverageFilter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class RegexCoverageFilter(
105105
def getExcludedLineNumbers(sourceFile: SourceFile): List[Range] = {
106106
linesExcludedByScoverageCommentsCache.get(sourceFile) match {
107107
case Some(lineNumbers) => lineNumbers
108-
case None =>
108+
case None =>
109109
val lineNumbers = compatFindAllIn(
110110
scoverageExclusionCommentsRegex,
111111
sourceFile.content

plugin/src/main/scala/scoverage/ScoverageOptions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ object ScoverageOptions {
105105
// we just ignore them here
106106
case ExtraAfterPhase(afterPhase) => ()
107107
case ExtraBeforePhase(beforePhase) => ()
108-
case "reportTestName" =>
108+
case "reportTestName" =>
109109
options = options.copy(reportTestName = true)
110110
case opt => errFn("Unknown option: " + opt)
111111
}

plugin/src/main/scala/scoverage/ScoveragePlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class ScoverageInstrumentationComponent(
366366
def updateLocation(t: Tree): Unit = {
367367
Location.fromGlobal(global)(t) match {
368368
case Some(loc) => this.location = loc
369-
case _ =>
369+
case _ =>
370370
reporter.warning(t.pos, s"Cannot update location for $t")
371371
}
372372
}

reporter/src/main/scala/scoverage/reporter/BaseReportWriter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class BaseReportWriter(
2929
sourcePaths.find(sourcePath => canonicalSrc.startsWith(sourcePath))
3030
sourceRoot match {
3131
case Some(path: String) => canonicalSrc.replace(path, "")
32-
case _ =>
32+
case _ =>
3333
val fmtSourcePaths: String = sourcePaths.mkString("'", "', '", "'")
3434
throw new RuntimeException(
3535
s"No source root found for '$canonicalSrc' (source roots: $fmtSourcePaths)"

0 commit comments

Comments
 (0)