diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-01-13 21:22:07 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-01-14 15:36:28 +0000 |
| commit | 23fc0fc22d0f066938387f3397fb8ee9358744e5 (patch) | |
| tree | 0661e27e90396caa7538cbbe7c50056dcf6c73e4 /include/ruby/io.h | |
| parent | d0c493df7d1bb4b32ede82422b0d08f72de025b9 (diff) | |
[ruby/prism] Be a bit stricter when comparing parser translator tokens
When there were more actual tokens than expected tokens, the test would still pass.
Now it's possible to receive an assertion like this:
```
expected: []
actual: [:tNL, [nil, #<Parser::Source::Range comment_single.txt 8...9>]]
<[]> expected but was
<[:tNL, [nil, #<Parser::Source::Range comment_single.txt 8...9>]]>
```
https://github.com/ruby/prism/commit/e9e9a48e43
Diffstat (limited to 'include/ruby/io.h')
0 files changed, 0 insertions, 0 deletions
