From a5f2f1ac0214f563d356a85614f11f78b64a9c29 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Thu, 19 Dec 2019 14:50:50 +0800 Subject: [PATCH] 1.9.1 --- .../scala/ammonite/unit/PPrintTests.scala | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 amm/repl/src/test/scala/ammonite/unit/PPrintTests.scala diff --git a/amm/repl/src/test/scala/ammonite/unit/PPrintTests.scala b/amm/repl/src/test/scala/ammonite/unit/PPrintTests.scala deleted file mode 100644 index 2ba2d0bcc..000000000 --- a/amm/repl/src/test/scala/ammonite/unit/PPrintTests.scala +++ /dev/null @@ -1,28 +0,0 @@ -package ammonite.unit - - -import utest._ - -object PPrintTests extends TestSuite{ - def check(lhs: String, rhs: String) = { - assert(lhs == rhs) - } - val pprinter = pprint.PPrinter.BlackWhite.copy( - additionalHandlers = ammonite.repl.PPrints.replPPrintHandlers - ) - val tests = Tests{ - - test("paths"){ - test("pprint"){ - - check(pprinter.tokenize(os.root/'hello/'world).mkString, "root/'hello/'world") - check(pprinter.tokenize(os.rel/'hello/'world).mkString, "'hello/'world") - check(pprinter.tokenize(os.rel/'world).mkString, "'world") - check(pprinter.tokenize(os.rel/'hello/'world).mkString, "'hello/'world") - check(pprinter.tokenize(os.rel/"hello world").mkString, "\"hello world\"") - - } - } - - } -}