Bump expected 2.11 module versions so we can compile with 2.11

Add scala 2.11 test/build verification.

* Add 2.11 build configuratoin to travis ci
* Create command which runs `safe` unit tests
* Create command to test the scala 2.11 build
* Update scalacheck to 1.11.4
* Update specs2 to 2.3.11
* Fix various 2.11/deprecation removals
  and other changes.

Fix eval test failure in scala 2.11 with XML not existing.
This commit is contained in:
Josh Suereth 2014-05-14 12:30:56 -04:00
parent 06d633af79
commit 629a8ca6eb
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ object Escape {
def pad(s: String, minLength: Int, extra: Char) =
{
val diff = minLength - s.length
if (diff <= 0) s else List.make(diff, extra).mkString("", "", s)
if (diff <= 0) s else List.fill(diff)(extra).mkString("", "", s)
}
/** Replaces a \n character at the end of a string `s` with `nl`.*/
def newline(s: String, nl: String): String =