HHH-8397: MultiLineImportFileTest failing on some platforms (Fix)
This commit is contained in:
parent
b9d3fa5581
commit
96e80b2df3
|
@ -78,8 +78,8 @@ public class MultiLineImportFileTest extends BaseCoreFunctionalTestCase {
|
||||||
|
|
||||||
final String multiLineText = (String) s.createSQLQuery( "SELECT text FROM test_data WHERE id = 2" )
|
final String multiLineText = (String) s.createSQLQuery( "SELECT text FROM test_data WHERE id = 2" )
|
||||||
.uniqueResult();
|
.uniqueResult();
|
||||||
// "Multi-line comment line 1\r\n-- line 2'\r\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 */" );
|
final String expected = String.format( "Multi-line comment line 1\n-- line 2'\n/* line 3 */" );
|
||||||
assertEquals( "Multi-line string inserted incorrectly", expected, multiLineText );
|
assertEquals( "Multi-line string inserted incorrectly", expected, multiLineText );
|
||||||
|
|
||||||
String empty = (String) s.createSQLQuery( "SELECT text FROM test_data WHERE id = 3" ).uniqueResult();
|
String empty = (String) s.createSQLQuery( "SELECT text FROM test_data WHERE id = 3" ).uniqueResult();
|
||||||
|
|
Loading…
Reference in New Issue