From 1948fa97dc12b6987dc6afbf705584aaaba02072 Mon Sep 17 00:00:00 2001 From: HGC Date: Wed, 31 Jul 2013 12:30:41 +0100 Subject: [PATCH] HHH-8397: MultiLineImportFileTest failing on some platforms (Fix) --- .../hibernate/test/fileimport/MultiLineImportFileTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/fileimport/MultiLineImportFileTest.java b/hibernate-core/src/test/java/org/hibernate/test/fileimport/MultiLineImportFileTest.java index bac8e4081f..b1a526c82d 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/fileimport/MultiLineImportFileTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/fileimport/MultiLineImportFileTest.java @@ -78,8 +78,8 @@ public class MultiLineImportFileTest extends BaseCoreFunctionalTestCase { final String multiLineText = (String) s.createSQLQuery( "SELECT text FROM test_data WHERE id = 2" ) .uniqueResult(); - // "Multi-line comment line 1\r\n-- line 2'\r\n/* line 3 */" - final String expected = String.format( "Multi-line comment line 1%n-- line 2'%n/* line 3 */" ); + // "Multi-line comment line 1\n-- line 2'\n/* line 3 */" + final String expected = String.format( "Multi-line comment line 1\n-- line 2'\n/* line 3 */" ); assertEquals( "Multi-line string inserted incorrectly", expected, multiLineText ); String empty = (String) s.createSQLQuery( "SELECT text FROM test_data WHERE id = 3" ).uniqueResult();