提交 1503a139 编写于 作者: J Juergen Hoeller

fixed yet another regression with respect to newlines (SPR-7449)

上级 3d2dd447
...@@ -263,7 +263,7 @@ public class ResourceDatabasePopulator implements DatabasePopulator { ...@@ -263,7 +263,7 @@ public class ResourceDatabasePopulator implements DatabasePopulator {
continue; continue;
} }
else if (c == '\n' || c == '\t') { else if (c == '\n' || c == '\t') {
continue; c = ' ';
} }
} }
sb.append(c); sb.append(c);
......
...@@ -71,7 +71,6 @@ public class DatabasePopulatorTests { ...@@ -71,7 +71,6 @@ public class DatabasePopulatorTests {
assertTestDatabaseCreated(); assertTestDatabaseCreated();
} }
@Ignore("Disabled until SPR-7449 is resolved")
@Test @Test
public void scriptWithEolBetweenTokens() throws Exception { public void scriptWithEolBetweenTokens() throws Exception {
databasePopulator.addScript(resourceLoader.getResource("users-schema.sql")); databasePopulator.addScript(resourceLoader.getResource("users-schema.sql"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册