Skip to content

Commit

Permalink
Fix test compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyAutrey committed Oct 15, 2024
1 parent e80bc74 commit 487ac15
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class IncrementalSpec extends Specification {
IO.write(file2, "x")

var hashPrefix = ""
implicit val hasher = 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 +580,7 @@ class IncrementalSpec extends Specification {
IO.write(file2, "x")

var hashPrefix = ""
implicit val hasher = 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 @@ -641,7 +641,7 @@ class IncrementalSpec extends Specification {
"op1" -> OpSuccess(Set.empty, Set(file1)),
"op2" -> OpSuccess(Set.empty, Set(file2))
),
Unit
()
)
}
val (outputFiles, _) = syncIncremental(tmpDir, List("op1")) { prunedOps =>
Expand Down Expand Up @@ -673,7 +673,7 @@ class IncrementalSpec extends Specification {
Map[String, OpResult](
"op1" -> OpSuccess(Set(infile), Set(file1, file2))
),
Unit
()
)
}

Expand Down Expand Up @@ -709,7 +709,7 @@ class IncrementalSpec extends Specification {
"op1" -> OpSuccess(Set(infile), Set(file1)),
"op2" -> OpSuccess(Set.empty, Set(file2))
),
Unit
()
)
}

Expand All @@ -721,7 +721,7 @@ class IncrementalSpec extends Specification {
"op1" -> OpSuccess(Set(infile), Set.empty),
"op3" -> OpSuccess(Set.empty, Set(file1, file2))
),
Unit
()
)
}

Expand Down

0 comments on commit 487ac15

Please sign in to comment.