aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Freeze method reference operator objectNobuyoshi Nakada2019-08-291-0/+4
| | | | [Feature #16103]
* Revert "Add pipeline operator [Feature #15799]"Nobuyoshi Nakada2019-08-292-11/+0
| | | | | | | | | | | | | This reverts commits: * d365fd5a024254d7c105a62a015a7ea29ccf3e5d * d780c3662484d6072b3a6945b840049de72c2096 * aa7211836b769231a2a8ef6b6ec2fd0ec882ef29 * 043f010c28e82ea38978bf8ed885416f133b5b75 * bb4dd7c6af05c7821d572e2592ea3d0cc748d81f * 043f010c28e82ea38978bf8ed885416f133b5b75 * f169043d81524b5b529f2c1e9c35437ba5bc3a7a http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/94645
* Show the previous definition location,Nobuyoshi Nakada2019-08-292-8/+12
| | | | | when reopened class/module redefinition mismatched the previous definition. [Feature #11460]
* Aseert exception at negative step for non-endless range tooNobuyoshi Nakada2019-08-291-0/+1
|
* Revert "Remove warnings of flip-flop deprecation from tests and specs"Nobuyoshi Nakada2019-08-292-15/+2
| | | | | | | | This reverts commit bf7a32d22079cc44eb19794e41d82b886d5d17b3. flip-flop is no longer deprecated. [Feature #5400]
* Fix use_lib_reline for test/readlineaycabta2019-08-271-1/+4
|
* Add test with encoding.manga_osyo2019-08-271-10/+10
|
* Change to test file path.manga_osyo2019-08-271-0/+0
|
* Add support Windows in CI.manga_osyo2019-08-271-8/+8
|
* Add test reline.manga_osyo2019-08-271-0/+242
|
* Refactoring Reline.manga_osyo2019-08-272-177/+6
|
* Fix reference core method.manga_osyo2019-08-271-2/+2
|
* Remove test_mode in `lib/reline`.manga_osyo2019-08-271-0/+12
|
* Refactoring Reline accessor.manga_osyo2019-08-271-0/+174
|
* Inspect dynamic symbol as well as static symbolNobuyoshi Nakada2019-08-251-0/+4
|
* Add abs to Matrix (#2199)Fernando Wolf Bona2019-08-211-0/+5
|
* Enable more Time TZ tests on OpenBSDJeremy Evans2019-08-201-1/+1
|
* Make portable for standalone test-unit gem.Hiroshi SHIBATA2019-08-192-1/+3
| | | | | * It can invoke test-unit with envutil.rb * refute_match of test-unit couldn't handle String instance.
* Remove commented out debug printaycabta2019-08-181-4/+0
|
* Don't crash when deleting at the end of the lineAlan Wu2019-08-181-0/+10
| | | | | To reproduce this bug, type one character into irb, then press the delete key on your keyboard.
* Remove Travis CI workaroundaycabta2019-08-171-1/+0
|
* Removed test_case files from lib directory.Hiroshi SHIBATA2019-08-174-202/+1098
|
* Skip teardown with JRubyHiroshi SHIBATA2019-08-171-1/+1
|
* Use the original require for test_race_exceptionHiroshi SHIBATA2019-08-171-2/+2
| | | | | The extension for require method with rubygems affects this test case. We need to keep this test for the original method.
* Revert "Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem""Hiroshi SHIBATA2019-08-171-0/+33
| | | | This reverts commit 75d29db8f965893bb6ab38b9008abc80cdda246e.
* Search refinement module along nested usingsNobuyoshi Nakada2019-08-171-0/+28
| | | | [Bug #16107]
* Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem"Hiroshi SHIBATA2019-08-171-33/+0
| | | | This reverts commit 00cd5d74cecb6aa4a184e57e2b8246ef6e45d458.
* Move lib directory to the last of $LOAD_PATH on ruby repository.Hiroshi SHIBATA2019-08-171-0/+10
| | | | | | https://github.com/rubygems/rubygems/pull/1868 changes the behavior of require when it used with -I options. Therefore, the options of ruby repository was different from rubygems/rubygems.
* [rubygems/rubygems] Do not mutate uri.query during s3 signature creationAlexander Pakulov2019-08-171-0/+3
| | | | https://github.com/rubygems/rubygems/commit/c0275ee537
* [rubygems/rubygems] Autoswitch to exact bundler version if presentDavid Rodríguez2019-08-172-1/+35
| | | | https://github.com/rubygems/rubygems/commit/bb02953a97
* [rubygems/rubygems] Fix removing unresolved default spec files from mapDavid Rodríguez2019-08-171-0/+20
| | | | https://github.com/rubygems/rubygems/commit/7964917bbc
* [rubygems/rubygems] Replace domain parameter in ↵bronzdoc2019-08-171-1/+1
| | | | | | Gem::Command#show_lookup_failure with a parameter to suppress suggestions https://github.com/rubygems/rubygems/commit/760b7d834f
* [rubygems/rubygems] [Require] Ensure -I beats a default gemSamuel Giddins2019-08-171-0/+33
| | | | https://github.com/rubygems/rubygems/commit/6fbda98eb3
* [rubygems/rubygems] Make test also assert the gems that it should loadDavid Rodríguez2019-08-171-0/+1
| | | | https://github.com/rubygems/rubygems/commit/a6375920bf
* [rubygems/rubygems] Use `assert_require`David Rodríguez2019-08-171-1/+1
| | | | | | For consistency with the other specs. https://github.com/rubygems/rubygems/commit/44b93aec4c
* [ruby/rdoc] Use assert_raiseNobuyoshi Nakada2019-08-161-2/+2
| | | | https://github.com/ruby/rdoc/commit/f2c63549f7
* Set IRB::Context#return_format on test clarifyaycabta2019-08-161-0/+1
|
* Use assert_raise and skip for test/unitaycabta2019-08-1614-48/+48
|
* RDoc::Parser::C: Integrate do_classes and do_modules by one regexp matchYusuke Endoh2019-08-161-31/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The full scan of the C source code (`@content.scan`) is very slow. The old code invokes the scan six times in `do_classes` and `do_modules`. This change integrates the six scans into one by merging the regexps. The integrated regexp is a bit hard to maintain, but the speed up is significant: approx. 30 sec -> 20 sec in Ruby's `make rdoc`. In addition, this change omits `do_boot_defclass` unless the file name is `class.c`. `boot_defclass` is too specific to Ruby's source code, so RDoc should handle it as a special case. Before this change: TOTAL (pct) SAMPLES (pct) FRAME 858 (13.6%) 858 (13.6%) (garbage collection) 292 (4.6%) 264 (4.2%) RDoc::Parser::C#do_define_class 263 (4.2%) 250 (3.9%) RDoc::Parser::C#do_define_module 275 (4.3%) 241 (3.8%) RDoc::Parser::C#do_define_class_under 248 (3.9%) 237 (3.7%) RDoc::Parser::C#do_define_module_under 234 (3.7%) 234 (3.7%) RDoc::Parser::C#gen_body_table 219 (3.5%) 219 (3.5%) Ripper::Lexer#state_obj 217 (3.4%) 216 (3.4%) RDoc::Parser::C#do_struct_define_without_accessor 205 (3.2%) 205 (3.2%) RDoc::Parser::C#do_boot_defclass 205 (3.2%) 205 (3.2%) RDoc::Parser::C#do_singleton_class The six methods take approx. 22.2%. `do_define_class` (4.2%) + `do_define_class_under` (3.8%) + `do_define_module` (3,9$) + `do_define_module_under` (3.7%) + `do_struct_define_without_accessor` (3.4%) + `do_singleton_class` (3.2%) After this change, the methods are integrated to `do_classes_and_modules` which takes only 5.8%. TOTAL (pct) SAMPLES (pct) FRAME 812 (16.7%) 812 (16.7%) (garbage collection) 355 (7.3%) 284 (5.8%) RDoc::Parser::C#do_classes_and_modules 225 (4.6%) 225 (4.6%) RDoc::Parser::C#gen_body_table 429 (8.8%) 210 (4.3%) RDoc::Parser::RubyTools#get_tk 208 (4.3%) 208 (4.3%) RDoc::TokenStream#add_tokens
* Parser was replacedaycabta2019-08-161-1/+0
|
* Gem::TestCase is based on MinitestHiroshi SHIBATA2019-08-161-5/+5
|
* Use omit instead of skip for test-unit.Hiroshi SHIBATA2019-08-169-21/+19
|
* Use test/unit instead of test-unit. Because test-unit is only provided ↵Hiroshi SHIBATA2019-08-161-1/+1
| | | | standalone gem.
* Cleanup commented-out code.Hiroshi SHIBATA2019-08-161-1/+0
|
* Removed needless alias for capture_io.Hiroshi SHIBATA2019-08-161-1/+0
|
* Fallback for older RubygemsNobuyoshi Nakada2019-08-161-2/+6
|
* Use Gem.default_specifications_dirNobuyoshi Nakada2019-08-161-1/+1
| | | | Gem::Specification.default_specifications_dir is deprecated.
* Renamed minitest_helper.rb as helper.rbNobuyoshi Nakada2019-08-1663-62/+62
|
* Use locale directory for the testsNobuyoshi Nakada2019-08-161-3/+3
|
* Use test-unit instead of minitestNobuyoshi Nakada2019-08-161-4/+7
| | | | | Minitest 6 will err `assert_equal` with `nil`. https://github.com/seattlerb/minitest/issues/779