Skip to content

Commit

Permalink
Make property 'name' key comparison case insensitive
Browse files Browse the repository at this point in the history
DAT-4793
  • Loading branch information
wwillard7800 committed Jan 6, 2022
1 parent f9c75bc commit 857c52b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -352,7 +352,7 @@ private void handleProperty(ChangeLogParameters changeLogParameters, DatabaseCha
for (int i = 1; i <= propertyPatternMatcher.groupCount(); i++) {
String temp = propertyPatternMatcher.group(i);
String[] parts = temp.split(":");
String key = parts[0].trim();
String key = parts[0].trim().toLowerCase();
switch (key) {
case "name":
name = parts[1].trim();
Expand Down
Expand Up @@ -25,7 +25,7 @@ public class FormattedSqlChangeLogParserTest extends Specification {
--property name:idProp value:1
--property name:authorProp value:nvoxland
--property name:tableNameProp value:table1
--property nAmE:tableNameProp value:table1
--property name:runwith value: sqlplus
Expand Down

0 comments on commit 857c52b

Please sign in to comment.