File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
msgpack-core/src/test/scala/org/msgpack/core Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -238,16 +238,18 @@ class MessagePackTest extends MessagePackSpec {
238238
239239
240240 " report errors when packing/unpacking malformed strings" taggedAs(" malformed" ) in {
241+ // TODO produce malformed utf-8 strings in Java8"
242+ pending
241243 // Create 100 malformed UTF8 Strings
242244 val r = new Random (0 )
243- val malformedStrings = Iterator .continually{
245+ val malformedStrings = Iterator .continually {
244246 val b = new Array [Byte ](10 )
245247 r.nextBytes(b)
246248 b
247249 }
248250 .filter(b => ! isValidUTF8(new String (b))).take(100 )
249251
250- for (malformedBytes <- malformedStrings) {
252+ for (malformedBytes <- malformedStrings) {
251253 // Pack tests
252254 val malformed = new String (malformedBytes)
253255 try {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import xerial.sbt.Sonatype._
2626
2727object Build extends Build {
2828
29- val SCALA_VERSION = " 2.11.1 "
29+ val SCALA_VERSION = " 2.11.2 "
3030
3131 lazy val buildSettings = Defaults .coreDefaultSettings ++
3232 sonatypeSettings ++
@@ -135,7 +135,8 @@ object Build extends Build {
135135 " org.scalacheck" % " scalacheck_2.11" % " 1.11.4" % " test" ,
136136 " org.xerial" % " xerial-core" % " 3.3.0" % " test" ,
137137 " org.msgpack" % " msgpack" % " 0.6.9" % " test" ,
138- " com.novocode" % " junit-interface" % " 0.10" % " test"
138+ " com.novocode" % " junit-interface" % " 0.10" % " test" ,
139+ " commons-codec" % " commons-codec" % " 1.9" % " test"
139140 )
140141 }
141142
Original file line number Diff line number Diff line change 1- sbt.version =0.13.5
1+ sbt.version =0.13.6
22
You can’t perform that action at this time.
0 commit comments