Skip to content

Commit

Permalink
Fix #140 by updating upickle/pprint dependency to more-robust 0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Li Haoyi committed Aug 6, 2015
1 parent efa8a12 commit bcc8745
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ lazy val repl = project
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.apache.ivy" % "ivy" % "2.4.0",
"com.lihaoyi" %% "scalaparse" % "0.2.1",
"com.lihaoyi" %% "upickle" % "0.3.4",
"com.lihaoyi" %% "pprint" % "0.3.4",
"com.lihaoyi" %% "upickle" % "0.3.5",
"com.lihaoyi" %% "pprint" % "0.3.5",
"com.github.scopt" %% "scopt" % "3.3.0"
),
libraryDependencies ++= (
Expand Down
6 changes: 6 additions & 0 deletions repl/src/test/scala/ammonite/repl/ProjectTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ object ProjectTests extends TestSuite{

@ mean(Rational(1, 2), Rational(3, 2), Rational(0))
res9: Rational = 2/3

@ Interval(0, 10)
res10: Interval[Int] = [0, 10]
""")
else
check.session(s"""
Expand Down Expand Up @@ -227,6 +230,9 @@ object ProjectTests extends TestSuite{

@ mean(Rational(1, 2), Rational(3, 2), Rational(0))
res9: spire.math.Rational = 2/3

@ Interval(0, 10)
res10: Interval[Int] = [0, 10]
""")
}

Expand Down

0 comments on commit bcc8745

Please sign in to comment.