#3153 - 'Fixing' the ByteStringSpec by not having it generate now illegal combinations of data for copyToArray
This commit is contained in:
parent
6072cf3569
commit
950d19a377
3 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ class ByteStringSpec extends WordSpec with MustMatchers with Checkers {
|
|||
implicit val arbitraryByteStringSlice: Arbitrary[ByteStringSlice] = Arbitrary {
|
||||
for {
|
||||
xs ← arbitraryByteString.arbitrary
|
||||
from ← choose(0, xs.length)
|
||||
from ← choose(0, xs.length - 1)
|
||||
until ← choose(from, xs.length)
|
||||
} yield (xs, from, until)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import akka.sbt.AkkaKernelPlugin.{ Dist, outputDirectory, distJvmOptions}
|
|||
object HelloKernelBuild extends Build {
|
||||
val Organization = "akka.sample"
|
||||
val Version = "2.2-SNAPSHOT"
|
||||
val ScalaVersion = "2.10.0"
|
||||
val ScalaVersion = "2.10.1"
|
||||
|
||||
lazy val HelloKernel = Project(
|
||||
id = "hello-kernel",
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ object AkkaBuild extends Build {
|
|||
organization := "com.typesafe.akka",
|
||||
version := "2.2-SNAPSHOT",
|
||||
// Also change ScalaVersion in akka-sbt-plugin/sample/project/Build.scala
|
||||
scalaVersion := System.getProperty("akka.scalaVersion", "2.10.0")
|
||||
scalaVersion := System.getProperty("akka.scalaVersion", "2.10.1")
|
||||
)
|
||||
|
||||
lazy val akka = Project(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue