Merge pull request #2302 from metamx/lowerCaseGranPathTest

Make GranularityPathSpecTest check with lower-case enums
This commit is contained in:
Fangjin Yang 2016-01-20 09:18:06 -08:00
commit 695f107870
1 changed files with 2 additions and 1 deletions

View File

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