diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-10-01 14:21:32 -0400 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-10-01 15:42:44 -0400 |
| commit | 467ebbebd9b5a6a950bc2c52eb393ba9401ed826 (patch) | |
| tree | c9c0c30b9a8cc526e34e59bfbb85eadcfa57a447 /test/prism/errors | |
| parent | e320da60976f6818c8667afb98fe88142c3073d2 (diff) | |
[ruby/prism] Disallow dynamic patterns in labels at top level followed by pipes
https://github.com/ruby/prism/commit/ccc746f918
Diffstat (limited to 'test/prism/errors')
| -rw-r--r-- | test/prism/errors/dynamic_label_pattern.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/prism/errors/dynamic_label_pattern.txt b/test/prism/errors/dynamic_label_pattern.txt new file mode 100644 index 0000000000..b8d1012e45 --- /dev/null +++ b/test/prism/errors/dynamic_label_pattern.txt @@ -0,0 +1,3 @@ +:a => 'a': | 1 + ^ expected a pattern expression after the key + |
