Sets in {curly braces} keep each distinct value once
All 9 scenarios hold
expected outcome
broken scenario
| Scenario | Input | Captured? |
|---|---|---|
| Null set | “” | |
| Empty set | {} | {} |
| Basic set | {a, b, a, a, c} |
|
| Nested set | {{a}, {b}, {b}} |
|
| Mixed content set | {{},a,a,{}} |
|
| Set with list | {[a],[b],[b]} |
|
| Set with map | {[a:b], [a:b]} |
|
| Set with quoted value | {"a,b", c, "a,b"} |
|
| Extra whitespace | { a , a } |
|