WangYuan created RANGER-1803:
--------------------------------

             Summary: Json may be analysis a null value at tests[] for 
test_resourcematcher_default.json
                 Key: RANGER-1803
                 URL: https://issues.apache.org/jira/browse/RANGER-1803
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: WangYuan
            Assignee: WangYuan
            Priority: Minor


For test_resourcematcher_default.json, there is one more comma at last line.
I think the comma in end line should be deleled,otherwise may be analysis a 
null value.
For example:
{code}
"tests":[
        { "name":"all-lower","input":"simple", "result":true},
        ... ...
        ... ...
        { "name":"invalid-mixed-case-wild","input":"OtHeR-SiMpLe", 
"result":false},
       ###{ "name":"invalid-mixed-case-wild","input":"OtHeR-SiMpLe", 
"result":false}
      ]
{code}

{code}
"tests":[
        { "name":"all-lower","input":"simple", "result":true},
        ... ...
        ... ...
        { "name":"invalid-mixed-case","input":"oThEr-StRiNg", "result":false},
        ###{ "name":"invalid-mixed-case","input":"oThEr-StRiNg", "result":false}
      ]
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to