Skip to content

Commit

Permalink
Fixes (another) compile problem due to inadvertent use of Option.cont…
Browse files Browse the repository at this point in the history
…ains, only in Scala 2.11
  • Loading branch information
srowen committed Mar 3, 2016
1 parent 645c3a8 commit d798022
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class TaskResultGetterSuite extends SparkFunSuite with BeforeAndAfter with Local
val resAfter = captor.getValue
val resSizeBefore = resBefore.accumUpdates.find(_.name == Some(RESULT_SIZE)).flatMap(_.update)
val resSizeAfter = resAfter.accumUpdates.find(_.name == Some(RESULT_SIZE)).flatMap(_.update)
assert(resSizeBefore.contains(0L))
assert(resSizeBefore.exists(_ == 0L))
assert(resSizeAfter.exists(_.toString.toLong > 0L))
}

Expand Down

0 comments on commit d798022

Please sign in to comment.