summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-02-09Expose scheduler as public interface & bug fixes. (#3945)Samuel Williams
* Rename `rb_scheduler` to `rb_fiber_scheduler`. * Use public interface if available. * Use `rb_check_funcall` where possible. * Don't use `unblock` unless the fiber was non-blocking. Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2021-02-07[ruby/benchmark] Adds `Tms#to_h`Keith Bennett
[Feature #17601]
2021-02-08Forward keyword arguments to ARGF from global functionsNobuyoshi Nakada
2021-02-08Added test for keyword arguments to ARGFNobuyoshi Nakada
2021-02-07[ruby/reline] Terminate correctly in the middle of lines higher than the screenaycabta
https://github.com/ruby/reline/commit/e1d9240ada
2021-02-07[ruby/reline] Autowrap correctly when inserting chars in the middle of a lineaycabta
https://github.com/ruby/reline/commit/ebaf37255f
2021-02-06[ruby/irb] Enable to reassign a new block with "measure" commandaycabta
https://github.com/ruby/irb/commit/b444573aa2
2021-02-06[ruby/irb] Allow "measure" command to take blockaycabta
https://github.com/ruby/irb/commit/20f1ca23e9
2021-02-05Added tests for MakeMakefile#test_egrep_cppNobuyoshi Nakada
2021-02-05[ruby/io-console] Mark all tests that use run_pty as pend on JRubyCharles Oliver Nutter
JRuby's PTY.spawn does not produce a process with its own controlling terminal, which is necessary for testing these raw escape sequences. This commit marks those tests as pending. The functionality tested appears to work at a command line, but due to this PTY bug in JRuby we cannot test it this way. See https://github.com/jruby/jruby/issues/6552 https://github.com/ruby/io-console/commit/a486b72e5e https://github.com/ruby/io-console/commit/b5c8e7bfd8
2021-02-05[ruby/io-console] Use omit instead of skipCharles Oliver Nutter
This test runs with test/unit now, which defines omit instead of skip. https://github.com/ruby/io-console/commit/bd731d0b8d
2021-02-05[ruby/io-console] Skip test on JRubyCharles Oliver Nutter
The subprocess script here works fine at a command line, but when run as a pty subprocess during the tests the master side hangs waiting for output. https://github.com/ruby/io-console/commit/4a21610ece
2021-02-05[ruby/io-console] Add console.rb to search for pathsCharles Oliver Nutter
https://github.com/ruby/io-console/commit/74567376c4
2021-02-05[ruby/io-console] Run subprocesses without test librariesNobuyoshi Nakada
Now io/console is loaded from test-unit indirectly, test-unit requires power_assert which requires io/console. https://github.com/ruby/io-console/commit/8817d07951 https://github.com/ruby/io-console/commit/639cce89de
2021-02-04objspace_dump.c: tag singleton classes and reference the superclassJean Boussier
Notes: Merged: https://github.com/ruby/ruby/pull/4104
2021-02-03Prefer block forms to close opened filesNobuyoshi Nakada
2021-02-03Open gzip file in binary modeNobuyoshi Nakada
2021-02-03[ruby/irb] follow up the actual line numberNobuhiro IMAI
https://github.com/ruby/irb/commit/7aed8fe3b1
2021-02-01Implement NameError::message#clone for RactorNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4142
2021-01-29Forward keyword arguments for Pathname#each_line [Bug #17589]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4128
2021-01-27In test, need to pass a context to IRB::WorkSpace.new explicitlyaycabta
2021-01-27[ruby/irb] specify the `VERBOSE` to `false` and fix tests to fitNobuhiro IMAI
https://github.com/ruby/irb/commit/502c590925
2021-01-27[ruby/irb] use `RubyLex::TerminateLineInput` appropriately [Bug #17564]Nobuhiro IMAI
* using the appropriciate exception instead of `break` so that the session can be continue after the `irb_source` and `irb_load` commands * suppress extra new line due to one more `#prompt` call https://github.com/ruby/irb/commit/bdefaa7cfd
2021-01-25[ruby/rdoc] Support iso-strict format in git-logNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/2a6c22da63
2021-01-25[ruby/rdoc] Support other date formats in git-logNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/ad8cf37d72
2021-01-24[ruby/rdoc] Skip non-date logs by git-logNobuyoshi Nakada
`RDoc::Parser::ChangeLog` mis-parses ChangeLog generated by git-log, because of too heuristic `Time.parse`. For instance, "commit 8187228de0142d3ac7950b7d977c2849e934c637" results in "8187-08-16", that is, day 228 in the year 8187. https://github.com/ruby/rdoc/commit/9711e6f6d9
2021-01-24[ruby/rdoc] Sort by CommitDate if availableNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/455715e930
2021-01-24[ruby/rdoc] Add links to the commitsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/1821628076
2021-01-24[ruby/rdoc] Shorten commit hashesNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/5d3e153963
2021-01-24[ruby/rdoc] Tweak log entry markdownNobuyoshi Nakada
* add 3 levels to headings * prefix commit log to labels to make unique IDs https://github.com/ruby/rdoc/commit/5074c13209
2021-01-24[ruby/rdoc] Make each commit entries h3Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/11eefb2ae9
2021-01-24[ruby/rdoc] Support ChangeLog generated by `git log`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/5e0a123ca1
2021-01-24Add test for String#casecmp?NARUSE, Yui
String#casecmp? also normalize upper case characters in legacy encodings.
2021-01-24[ruby/irb] Indent correctly with method calling with receiveraycabta
https://github.com/ruby/irb/commit/e7c68e74a0
2021-01-24[ruby/irb] Indent correctly with keyword "for" and "in"aycabta
https://github.com/ruby/irb/commit/47c83ea724
2021-01-23Warn the defined location as deprecation as well as the main messageNobuyoshi Nakada
[Bug #17575]
2021-01-23Fix a warningKazuhiro NISHIYAMA
``` .../ruby/test/net/http/test_httpresponse.rb:81: warning: constant RubyVM::MJIT is deprecated ```
2021-01-23Make reciprocal properly of non-integral rational [Bug #17572]Nobuyoshi Nakada
2021-01-21[ruby/matrix] Add `Matrix#rotate_entries` [#19]Felix Wolfsteller
Co-authored-by: Marc-André Lafortune <github@marc-andre.ca>
2021-01-21[ruby/net-http] RubyVM::MJIT is deprecated, prefer RubyVM::JIT nowNobuyoshi Nakada
https://github.com/ruby/net-http/commit/abc6ea1877
2021-01-21[ruby/erb] Warn safe_level and later args even without -wTakashi Kokubun
because, when Ruby 3.1 is released, Ruby 2.5, the last version with the old method signature, will have been EOL. Therefore we can safely warn the old interface from Ruby 3.1. https://github.com/ruby/erb/commit/c3a753f49f
2021-01-21[ruby/erb] Make sure erb.rb in this repository is testedTakashi Kokubun
https://github.com/ruby/erb/commit/012faba2e5
2021-01-20Skip freezing check on setting temporary class path [Bug #17563]Nobuyoshi Nakada
Co-authored-by: ryannevell (Ryan Nevell) <ryan.nevell@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/4101
2021-01-20[ruby/irb] Remove pp-specific stub from TestColorTakashi Kokubun
because it was for TestColorPrinter https://github.com/ruby/irb/commit/7569206fd4
2021-01-20[ruby/irb] Undefine unused constantsTakashi Kokubun
https://github.com/ruby/irb/commit/eea9c16804
2021-01-20[ruby/irb] Split test files for IRB::Color and IRB::ColorPrinterTakashi Kokubun
https://github.com/ruby/irb/commit/d95e8daab3
2021-01-20[ruby/erb] Prefer __dir__ to reduce ../Takashi Kokubun
https://github.com/ruby/erb/commit/cb59f11ec8
2021-01-20Pend erb command tests for Ruby 2.5 for nowTakashi Kokubun
2021-01-19Fixed premature returnNobuyoshi Nakada
After setting ruby2_keywords for bmethod, the rest of arguments had been ignored. [Bug #17558] Notes: Merged: https://github.com/ruby/ruby/pull/4096
2021-01-19[ruby/irb] Stub a screen size for test_contextTakashi Kokubun
http://ci.rvm.jp/logfiles/brlog.trunk-random1.20210119-074232 https://github.com/ruby/irb/commit/ea87592d4a