diff options
| author | Stan Lo <stan001212@gmail.com> | 2023-05-20 13:28:19 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-05-20 04:28:23 +0000 |
| commit | 9ce6c08cafc96f59a6cdf7436c1e708a8c6e4ce8 (patch) | |
| tree | 6283df44bf69af2f114d7e4a79a0fce3d9e53383 /include/ruby/debug.h | |
| parent | 6d9875ccbf78ca354e63f05a4e37ab1e2c14a9ac (diff) | |
[ruby/irb] Add assertion for dynamic_prompt's assertion execution
(https://github.com/ruby/irb/pull/586)
Because the assertions for `dynamic_prompt` lives inside a block given to
`RubyLex`, they could be skipped unnoticed if the setup is not correct.
This commit adds a simple assertion to check if the block was actually
executed.
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions
