Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1803

Json may be analysis a null value at tests[] for test_resourcematcher_default.json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • Ranger
    • None
    • Patch

    Description

      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:

      "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}
            ]
      
      "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}
            ]
      

      Attachments

        Issue Links

          Activity

            People

              wangyuan Yuan Wang
              wangyuan Yuan Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: