Skip to content

Commit

Permalink
wrap long line
Browse files Browse the repository at this point in the history
  • Loading branch information
Li Haoyi committed Feb 3, 2016
1 parent 139e92b commit 4ddde43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion repl/src/test/scala/ammonite/repl/TestRepl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ class TestRepl {
case Res.Success(str) =>
// Strip trailing whitespace
def normalize(s: String) = s.lines.map(_.replaceAll(" *$", "")).mkString("\n").trim()
failLoudly(assert{identity(error); identity(warning); normalize(out) == normalize(expected)})
failLoudly(
assert{identity(error); identity(warning); normalize(out) == normalize(expected)}
)

case Res.Failure(failureMsg) =>
assert({identity(error); identity(warning); identity(out); identity(expected); false})
Expand Down

0 comments on commit 4ddde43

Please sign in to comment.