Skip to content

Commit

Permalink
Formatting fixes, part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyAutrey committed Oct 15, 2024
1 parent e60b33a commit 22fd8c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ Global / onLoad := (Global / onLoad).value.andThen { s =>
scalacOptions := {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, major)) => Seq("-Xsource:3")
case _ => Seq.empty
case _ => Seq.empty
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ class IncrementalSpec extends Specification {
IO.write(file2, "x")

var hashPrefix = ""
implicit val hasher: OpInputHasher[String] = OpInputHasher[String](op => OpInputHash.hashString(hashPrefix + op))
implicit val hasher: OpInputHasher[String] =
OpInputHasher[String](op => OpInputHash.hashString(hashPrefix + op))

// Cache ops with an initial hash prefix

Expand Down Expand Up @@ -580,7 +581,8 @@ class IncrementalSpec extends Specification {
IO.write(file2, "x")

var hashPrefix = ""
implicit val hasher: OpInputHasher[String] = OpInputHasher[String](op => OpInputHash.hashString(hashPrefix + op))
implicit val hasher: OpInputHasher[String] =
OpInputHasher[String](op => OpInputHash.hashString(hashPrefix + op))

// Cache ops with an initial hash prefix

Expand Down

0 comments on commit 22fd8c7

Please sign in to comment.