Skip to content

Commit

Permalink
HHH-8397: MultiLineImportFileTest failing on some platforms (Fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgcummings authored and brmeyer committed Aug 6, 2013
1 parent 2d85d84 commit 1948fa9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -78,8 +78,8 @@ public void testImportFile() throws Exception {

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();
Expand Down

0 comments on commit 1948fa9

Please sign in to comment.