diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-01-06 20:19:21 +0100 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2025-01-11 19:09:05 -0500 |
| commit | 9f38ee11cb4554ec4e08fb22a9c804c746cce029 (patch) | |
| tree | 939f088fee16a8d03380c66dfb05e3e45297dff1 /test | |
| parent | a234fd516f82702f9efd67e3f67de129702a6801 (diff) | |
[ruby/prism] Fix parser translator ast for empty regex
In that specific case, no string node is emitted
https://github.com/ruby/prism/commit/1166db13dd
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/fixtures/regex.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/prism/fixtures/regex.txt b/test/prism/fixtures/regex.txt index 85e600fbdd..712bfc081a 100644 --- a/test/prism/fixtures/regex.txt +++ b/test/prism/fixtures/regex.txt @@ -54,3 +54,5 @@ d\\\ e\\ f\ / + +// |
