changeset 59800:a4b936f0d8c5

8247521: (test) jdk/test/lib/hexdump/HexPrinterTest.java fails on windows Reviewed-by: iignatyev, joehw
author rriggs
date Mon, 15 Jun 2020 11:57:33 -0400
parents 244c8769fa90
children c212dee37032
files test/lib-test/jdk/test/lib/hexdump/HexPrinterTest.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/lib-test/jdk/test/lib/hexdump/HexPrinterTest.java	Mon Jun 15 16:16:48 2020 +0200
+++ b/test/lib-test/jdk/test/lib/hexdump/HexPrinterTest.java	Mon Jun 15 11:57:33 2020 -0400
@@ -77,9 +77,9 @@
     Object[][] builtinParams() {
         return new Object[][]{
                 {"minimal", "", "%02x", 16, "", 64, HexPrinter.Formatters.NONE, ""},
-                {"canonical", "%08x  ", "%02x ", 16, "|", 31, HexPrinter.Formatters.PRINTABLE, "|\n"},
-                {"simple", "%5d: ", "%02x ", 16, " // ", 64, HexPrinter.Formatters.ASCII, "\n"},
-                {"source", "    ", "(byte)%3d, ", 8, " // ", 64, HexPrinter.Formatters.PRINTABLE, "\n"},
+                {"canonical", "%08x  ", "%02x ", 16, "|", 31, HexPrinter.Formatters.PRINTABLE, "|" + System.lineSeparator()},
+                {"simple", "%5d: ", "%02x ", 16, " // ", 64, HexPrinter.Formatters.ASCII,  System.lineSeparator()},
+                {"source", "    ", "(byte)%3d, ", 8, " // ", 64, HexPrinter.Formatters.PRINTABLE,  System.lineSeparator()},
         };
     }