Polish ScriptUtils implementations

This commit is contained in:
Sam Brannen
2021-05-14 15:15:12 +02:00
parent 569ce840cf
commit 4cfad25468
3 changed files with 30 additions and 34 deletions

View File

@@ -229,7 +229,8 @@ public class ScriptUtilsUnitTests {
private String readScript(String path) throws Exception {
EncodedResource resource = new EncodedResource(new ClassPathResource(path, getClass()));
return ScriptUtils.readScript(resource);
return ScriptUtils.readScript(resource, DEFAULT_STATEMENT_SEPARATOR, DEFAULT_COMMENT_PREFIXES,
DEFAULT_BLOCK_COMMENT_END_DELIMITER);
}
}