An unquoted pipe inside a list, set, or map fails to parse
All 3 scenarios hold
Brackets and braces do not protect a pipe — only quotes do. The pipe splits the row mid-collection, leaving an unbalanced fragment, and the failure surfaces as a generic parse error naming the whole row rather than the pipe. To keep a pipe inside a collection, quote the element: ['a | b']. Every row below fails with a TableTestParseException.
expected outcome
broken scenario
| Scenario | Row | Error message? |
|---|---|---|
| Unquoted pipe in a list | [a | b] | Failed to parse `[a | b]` in row `[a | b]` |
| Unquoted pipe in a set | {a | b} | Failed to parse `{a | b}` in row `{a | b}` |
| Unquoted pipe in a map value | [k: a | b] | Failed to parse `[k: a | b]` in row `[k: a | b]` |