ruby/test
ima1zumi f5829e2935 [ruby/reline] Correct padding space calculation
fix https://github.com/ruby/irb/issues/308

This bug occurred when `dialog.width - calculate_width(s, true)` was negative.

When `dialog.width` is shorter than `old_dialog.width`, it calculates how much padding it has to do. However, there are cases where `s` is longer than `dialog.width`, as in the issue. In that case, `padding_space_with_escape_sequences` will crash.

Here, `old_dialog.width` is longer than `dialog.width`, so I changed the padding width to `old_dialog.width - dialog.width`.

https://github.com/ruby/reline/commit/c581c31e0f
2021-11-21 13:56:26 +09:00
..
-ext- Rename ::YJIT to RubyVM::YJIT 2021-10-28 13:43:02 -04:00
base64
benchmark
bigdecimal Import bigdecimal-3.1.0.dev 2021-10-22 15:53:49 +09:00
cgi
coverage Make Coverage suspendable (#4856) 2021-10-25 20:00:51 +09:00
csv [ruby/csv] Add support for Ractor (https://github.com/ruby/csv/pull/218) 2021-10-24 05:57:33 +09:00
date [ruby/date] check_limit: also handle symbols 2021-11-16 22:51:41 +09:00
did_you_mean Sync did_you_mean again 2021-10-22 21:00:23 -04:00
digest [ruby/digest] Use pend instead of skip 2021-07-28 11:48:36 +09:00
drb [ruby/drb] Use omit instead of skip for test-unit 2021-09-28 17:31:08 +09:00
dtrace
erb
error_highlight [ruby/error_highlight] Make the formatter mechanism support Ractor 2021-10-27 11:29:20 +09:00
etc
excludes Stop stale tests [Bug #9718] 2021-09-02 01:39:01 +09:00
fiber Mark IO::Buffer as experimental. 2021-11-10 19:21:05 +13:00
fiddle [ruby/fiddle] Use test-unit gem (https://github.com/ruby/fiddle/pull/69) 2021-09-05 17:43:48 +09:00
fileutils Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration 2021-09-06 18:34:15 +09:00
fixtures/fake_sorted_set_gem
io [ruby/io-wait] Disable ractor test which is meaningless on earlier versions 2021-11-16 20:25:44 +09:00
irb Skip TestIRB::TestInit#test_recovery_sigint on Solaris 2021-11-05 20:03:11 +09:00
json
lib Disable YJIT in MJIT tests 2021-10-20 18:19:38 -04:00
logger [ruby/logger] Ignored loading CoreAssertions in test runner 2021-09-15 08:49:24 +09:00
mkmf Revert "mkmf.rb: try linking at try_var" [Bug #18235] 2021-10-03 18:23:39 +09:00
monitor
net Sync test_http_request.rb after fix to net-http 2021-11-15 09:31:44 -08:00
nkf
objspace [Feature #18239] Implement VWA for strings 2021-10-25 13:26:23 -04:00
open-uri
openssl test/openssl/test_ssl: adjust certificate expiry date 2021-11-11 17:59:22 +09:00
optparse [ruby/optparse] Fix typo [ci skip] 2021-11-03 19:55:24 +09:00
ostruct [ruby/ostruct] Allow properties to be accessed even when the object is moved to another Ractor (https://github.com/ruby/ostruct/pull/29) 2021-09-28 17:30:06 +09:00
pathname [ruby/pathname] Prefer omit over skip 2021-09-07 13:02:56 +09:00
psych test/psych/test_scalar_scanner.rb: Prevent a warning 2021-09-09 23:35:03 +09:00
racc [ruby/racc] Prefer __dir__ over File.dirname(__FILE__) 2021-09-15 16:20:18 +09:00
rdoc [ruby/rdoc] Fix typos in test method names [ci skip] 2021-11-04 08:56:38 +09:00
readline test/readline/test_readline.rb: skip a test on i686-linux 2021-11-09 14:52:48 +09:00
reline [ruby/reline] Correct padding space calculation 2021-11-21 13:56:26 +09:00
resolv
rinda
ripper Hash values should be omitted in Ripper results 2021-09-11 22:03:10 +09:00
ruby Fix setting struct member by public_send 2021-11-21 00:31:51 +09:00
rubygems [rubygems/rubygems] `Gem::Specification.reset` already clears loaded spec cache 2021-11-18 04:37:26 +09:00
socket Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration 2021-09-06 18:34:15 +09:00
stringio
strscan
syslog
uri 'uri/https' is needed 2021-10-22 23:56:07 +09:00
win32ole
yaml
zlib Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration 2021-09-06 18:34:15 +09:00
runner.rb Disable experimental warnings in test/runner.rb 2021-11-10 17:42:09 +09:00
test_abbrev.rb
test_delegate.rb
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_getoptlong.rb [ruby/getoptlong] fixup 5f57f47572502173e2e8880f83ef7b3e2659f974 2021-11-11 14:00:32 +09:00
test_ipaddr.rb [ruby/ipaddr] Make IPAddr#include? consider range of argument 2021-10-11 13:50:54 +09:00
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_set.rb [ruby/set] Allow Set#intersect? and #disjoint? to accept array argument 2021-07-29 14:18:10 +09:00
test_shellwords.rb
test_singleton.rb
test_sorted_set.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb [ruby/timeout] test that yield is given number of seconds 2021-09-28 06:05:50 +09:00
test_tmpdir.rb
test_trick.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb