Make GranularityPathSpecTest check with lower-case enums

This commit is contained in:
Charles Allen 2016-01-20 08:35:13 -08:00
parent df2906a91c
commit 3c5ca3a5f2
1 changed files with 2 additions and 1 deletions

View File

@ -172,7 +172,8 @@ public class GranularityPathSpecTest
sb.append(pathFormat); sb.append(pathFormat);
sb.append("\","); sb.append("\",");
sb.append("\"dataGranularity\" : \""); sb.append("\"dataGranularity\" : \"");
sb.append(granularity.toString()); // Double-check Jackson's lower-case enum support
sb.append(granularity.toString().toLowerCase());
sb.append("\","); sb.append("\",");
if(inputFormat != null) { if(inputFormat != null) {
sb.append("\"inputFormat\" : \""); sb.append("\"inputFormat\" : \"");