1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
Yusuke Endoh 663915ddf4 [rubygems/rubygems] Support the change of did_you_mean about Exception#detailed_message
I am asking did_you_mean to use Exception#detailed_message to add
"Did you mean?" suggestion instead of overriding #message method.

https://github.com/ruby/did_you_mean/pull/177

Unfortunately, the change will affect Gem::UnknownCommandError, which
excepts did_you_mean to override #message method.

This PR absorbs the change of did_you_mean.
Gem::CommandManager now calls #detailed_message method to get a message
string with "Did you mean?" suggestion from an exception.

https://github.com/rubygems/rubygems/commit/8f104228d3
2022-05-23 20:51:17 +09:00
..
-ext- Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
base64
benchmark
bigdecimal [ruby/bigdecimal] Fix the maximum precision of the quotient 2022-01-24 10:56:30 +09:00
cgi [ruby/cgi] Check integer overflow in long range 2021-12-12 13:05:15 +09:00
coverage
csv [ruby/csv] test: reduce size for stability on GitHub Actions 2021-12-24 14:35:33 +09:00
date Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
did_you_mean Rewrite with assert_ractor for multiple ractor environment 2022-05-20 19:48:28 +09:00
digest
drb Prepare for removing RubyVM::JIT (#5262) 2021-12-13 23:07:46 -08:00
dtrace Use omit instead of skip without the default gems tests 2022-01-11 21:17:59 +09:00
erb [ruby/erb] Revert "Remove safe_level and further positional arguments (https://github.com/ruby/erb/pull/7)" 2022-01-17 12:39:17 -08:00
error_highlight [ruby/error_highlight] Add a test to check if it is robust against a spoofed filename 2022-01-04 23:18:37 +09:00
etc
excludes Skip three tests on FreeBSD 13 2022-03-08 16:06:37 +09:00
fiber test/fiber/test_scheduler.rb: Remove the test file from $LOADED_FEATURES 2022-05-09 10:20:25 +09:00
fiddle
fileutils Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
fixtures/fake_sorted_set_gem
io test/io/console/test_io_console.rb: parens needed 2022-03-08 17:40:02 +09:00
irb [ruby/irb] Check colorize option correctly to clear char attr and don't use it for tests 2021-12-21 15:50:32 +09:00
json [flori/json] Fix parser bug for empty string allocation 2022-05-20 17:49:13 +09:00
lib Fix test_rubyoptions for MinGW (#5363) 2021-12-27 22:22:09 -08:00
logger [ruby/logger] Fix log rotation inter-process lock failed. 2022-01-27 12:33:06 +09:00
mkmf Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
monitor
net [ruby/net-http] Feature detect to make net/http usable with JRuby 2022-04-20 13:01:08 +09:00
nkf
objspace Refactor test_dump_all to make assertions about the contents of the dumped hash 2022-03-29 08:21:10 -07:00
open-uri
openssl [ruby/openssl] Add tast cases to OpenSSL::BN using ractor 2021-12-25 03:31:59 +09:00
optparse Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
ostruct [ruby/ostruct] Fix class and method as attribute names 2022-03-07 20:08:22 +09:00
pathname [ruby/pathname] Implement Pathname#lutime 2022-04-21 17:10:19 +09:00
psych [ruby/psych] Add strict_integer option to parse numbers with commas as strings 2022-01-22 10:00:51 +09:00
racc [ruby/racc] Show diffs 2022-05-20 17:49:15 +09:00
rdoc [ruby/rdoc] Apply matching word pairs to underscore-methods 2022-04-14 16:37:14 +09:00
readline Increase wait time 2021-12-25 00:20:53 +09:00
reline [ruby/reline] Fix support for emacs-ctlx and emacs-meta keymaps 2022-02-22 18:52:52 +09:00
resolv [ruby/resolv] Use omit instead of skip for test-unit 2022-01-12 10:49:58 +09:00
rinda [ruby/rinda] Use omit instead of skip for test-unit 2022-01-12 10:59:21 +09:00
ripper ripper: refine test to show expected states 2021-12-14 20:06:51 +09:00
ruby Make the test class naming consistent 2022-05-20 21:34:47 -07:00
rubygems [rubygems/rubygems] Support the change of did_you_mean about Exception#detailed_message 2022-05-23 20:51:17 +09:00
socket Use omit instead of skip: test/socket/**/*.rb 2021-12-28 20:29:54 +09:00
stringio
strscan
syslog
uri [ruby/uri] Improve URI.register_scheme tests and automatically upcase the given scheme 2022-05-12 18:19:17 +09:00
win32ole [ruby/win32ole] Use omit() for skip() 2022-01-12 10:50:43 +09:00
yaml
zlib [ruby/zlib] Mask checksums to lower 32bits 2022-04-02 17:01:33 +09:00
runner.rb
test_abbrev.rb
test_delegate.rb
test_extlibs.rb
test_find.rb [ruby/find] Use omit instead of skip for test-unit 2022-01-11 21:40:51 +09:00
test_forwardable.rb
test_getoptlong.rb
test_ipaddr.rb [ruby/ipaddr] Fix exception calling to_range' after freeze' 2022-02-10 17:18:05 +09:00
test_mutex_m.rb
test_observer.rb
test_open3.rb [ruby/open3] Use omit instead of skip for test-unit 2022-01-12 10:52:09 +09:00
test_pp.rb [ruby/pp] Add context to bind_call and skip 2.7+ test 2021-12-18 08:38:59 +09:00
test_prettyprint.rb
test_pstore.rb
test_pty.rb Use omit instead of skip without the default gems tests 2022-01-11 21:17:59 +09:00
test_rbconfig.rb
test_securerandom.rb [ruby/securerandom] Split Random::Formatter from SecureRandom [Feature #18190] 2021-12-09 20:26:44 +09:00
test_set.rb Make Set a builtin feature [Feature #16989] 2022-02-18 11:56:24 +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] Handle Timeout + fork and add test for it 2022-05-19 07:19:40 +09:00
test_tmpdir.rb [ruby/tmpdir] Use omit instead of skip for test-unit 2022-01-11 21:50:53 +09:00
test_trick.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb