diff options
| author | Mike Dalessio <mike.dalessio@gmail.com> | 2023-08-19 14:25:54 -0400 |
|---|---|---|
| committer | Jemma Issroff <jemmaissroff@gmail.com> | 2023-08-21 10:33:43 -0700 |
| commit | dcc8afe9a40b94f5b678b8fc39e4c30ba63594c0 (patch) | |
| tree | c4d017305086ffeff68610978985434c097a1746 /test | |
| parent | 67cd60ed97b492bd960f425770ab1a04ef8aa187 (diff) | |
[ruby/yarp] prefactor: extract yp_newline_list_check_append
https://github.com/ruby/yarp/commit/149c74291b
Diffstat (limited to 'test')
| -rw-r--r-- | test/yarp/fixtures/newline_terminated.txt | 2 | ||||
| -rw-r--r-- | test/yarp/snapshots/newline_terminated.txt | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/yarp/fixtures/newline_terminated.txt b/test/yarp/fixtures/newline_terminated.txt new file mode 100644 index 0000000000..27e7c62e8e --- /dev/null +++ b/test/yarp/fixtures/newline_terminated.txt @@ -0,0 +1,2 @@ +%r +foo diff --git a/test/yarp/snapshots/newline_terminated.txt b/test/yarp/snapshots/newline_terminated.txt new file mode 100644 index 0000000000..e68ea1658e --- /dev/null +++ b/test/yarp/snapshots/newline_terminated.txt @@ -0,0 +1,6 @@ +ProgramNode(0...7)( + [], + StatementsNode(0...7)( + [RegularExpressionNode(0...7)((0...3), (3...6), (6...7), "foo", 0)] + ) +) |
