aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/test/switch_spec.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test: add test cases for empty table pattern matchingfeature/ast-node-end-positionLi Jin2026-03-261-1/+244
| | | | | | | | | | - Test [] pattern matches tables with #x == 0 - Test {} pattern matches tables with next(x) == nil - Test distinguishing between [] and {} patterns - Test empty patterns with then syntax - Test empty patterns with multiple when branches Related to #249
* Updated tests.Li Jin2026-01-261-0/+742