[
https://issues.apache.org/jira/browse/RANGER-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
WangYuan updated RANGER-1803:
-----------------------------
Attachment: 0001-RANGER-1803-Json-may-be-analysis-a-null-value-at-tes.patch
> 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
> Attachments:
> 0001-RANGER-1803-Json-may-be-analysis-a-null-value-at-tes.patch
>
>
> 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)