| 1 | [ |
| 2 | { |
| 3 | "id": "0010-concatenate:001:concatenate2", |
| 4 | "expression": "concatenate(simpleList,flatten(nestedList))", |
| 5 | "expected": [ |
| 6 | "a", |
| 7 | "b", |
| 8 | "c", |
| 9 | "w", |
| 10 | "x", |
| 11 | "y", |
| 12 | "z" |
| 13 | ], |
| 14 | "expected_type": "list", |
| 15 | "comparison": "exact", |
| 16 | "deviation": null, |
| 17 | "context": { |
| 18 | "simpleList": [ |
| 19 | "a", |
| 20 | "b", |
| 21 | "c" |
| 22 | ], |
| 23 | "nestedList": [ |
| 24 | [ |
| 25 | "w", |
| 26 | "x" |
| 27 | ], |
| 28 | [ |
| 29 | "y" |
| 30 | ], |
| 31 | [ |
| 32 | "z" |
| 33 | ] |
| 34 | ] |
| 35 | } |
| 36 | }, |
| 37 | { |
| 38 | "id": "0010-concatenate:001:literalNestedList", |
| 39 | "expression": "[[\"w\",\"x\"],[\"y\"],[\"z\"]]", |
| 40 | "expected": [ |
| 41 | [ |
| 42 | "w", |
| 43 | "x" |
| 44 | ], |
| 45 | [ |
| 46 | "y" |
| 47 | ], |
| 48 | [ |
| 49 | "z" |
| 50 | ] |
| 51 | ], |
| 52 | "expected_type": "list", |
| 53 | "comparison": "exact", |
| 54 | "deviation": null, |
| 55 | "context": { |
| 56 | "simpleList": [ |
| 57 | "a", |
| 58 | "b", |
| 59 | "c" |
| 60 | ], |
| 61 | "nestedList": [ |
| 62 | [ |
| 63 | "w", |
| 64 | "x" |
| 65 | ], |
| 66 | [ |
| 67 | "y" |
| 68 | ], |
| 69 | [ |
| 70 | "z" |
| 71 | ] |
| 72 | ] |
| 73 | } |
| 74 | }, |
| 75 | { |
| 76 | "id": "0010-concatenate:001:literalSimpleList", |
| 77 | "expression": "[\"a\",\"b\",\"c\"]", |
| 78 | "expected": [ |
| 79 | "a", |
| 80 | "b", |
| 81 | "c" |
| 82 | ], |
| 83 | "expected_type": "list", |
| 84 | "comparison": "exact", |
| 85 | "deviation": null, |
| 86 | "context": { |
| 87 | "simpleList": [ |
| 88 | "a", |
| 89 | "b", |
| 90 | "c" |
| 91 | ], |
| 92 | "nestedList": [ |
| 93 | [ |
| 94 | "w", |
| 95 | "x" |
| 96 | ], |
| 97 | [ |
| 98 | "y" |
| 99 | ], |
| 100 | [ |
| 101 | "z" |
| 102 | ] |
| 103 | ] |
| 104 | } |
| 105 | } |
| 106 | ] |