Github user pvillard31 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2530#discussion_r173719874
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/groovy/org/apache/nifi/processors/standard/TestFlattenJson.groovy
 ---
    @@ -134,4 +134,44 @@ class TestFlattenJson {
                 ])
             }
         }
    +
    +    @Test
    +    void testFlattenModeNormal() {
    +        def testRunner = TestRunners.newTestRunner(FlattenJson.class)
    +        def json = prettyPrint(toJson([
    +                first: [
    +                        second: [
    +                                third: [
    +                                        "one", "two", "three", "four", 
"five"
    +                                ]
    +                        ]
    +                ]
    +        ]))
    +
    +        testRunner.setValidateExpressionUsage(true);
    --- End diff --
    
    not sure this line is required


---

Reply via email to