1[ 2 { 3 "name": "basic list of lists", 4 "raw": ["(1 2), (42 43)"], 5 "header_type": "list", 6 "expected": [[[[1, []], [2, []]], []], [[[42, []], [43, []]], []]] 7 }, 8 { 9 "name": "single item list of lists", 10 "raw": ["(42)"], 11 "header_type": "list", 12 "expected": [[[[42, []]], []]] 13 }, 14 { 15 "name": "empty item list of lists", 16 "raw": ["()"], 17 "header_type": "list", 18 "expected": [[[], []]] 19 }, 20 { 21 "name": "empty middle item list of lists", 22 "raw": ["(1),(),(42)"], 23 "header_type": "list", 24 "expected": [[[[1, []]], []], [[], []], [[[42, []]], []]], 25 "canonical": ["(1), (), (42)"] 26 }, 27 { 28 "name": "extra whitespace list of lists", 29 "raw": ["( 1 42 )"], 30 "header_type": "list", 31 "expected": [[[[1, []], [42, []]], []]], 32 "canonical": ["(1 42)"] 33 }, 34 { 35 "name": "wrong whitespace list of lists", 36 "raw": ["(1\t 42)"], 37 "header_type": "list", 38 "must_fail": true 39 }, 40 { 41 "name": "no trailing parenthesis list of lists", 42 "raw": ["(1 42"], 43 "header_type": "list", 44 "must_fail": true 45 }, 46 { 47 "name": "no trailing parenthesis middle list of lists", 48 "raw": ["(1 2, (42 43)"], 49 "header_type": "list", 50 "must_fail": true 51 }, 52 { 53 "name": "no spaces in inner-list", 54 "raw": ["(abc\"def\"?0123*dXZ3*xyz)"], 55 "header_type": "list", 56 "must_fail": true 57 } 58] 59