summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-12-21[json] Make json Ractor safeKenta Murata
2020-12-21[json] Stop using prototype objectsKenta Murata
2020-12-21Fixed a typo in an error class nameNobuyoshi Nakada
2020-12-21[ruby/rdoc] Guard for WEBrickHiroshi SHIBATA
https://github.com/ruby/rdoc/commit/b1e7129e05
2020-12-20irb: Removed unused variablesv3_0_0_rc1Nobuyoshi Nakada
2020-12-20win32: Use UTF-8 as filesystem encoding [Feature #12654]Nobuyoshi Nakada
Co-Authored-By: Dāvis Mosāns <davispuh@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/3948
2020-12-20irb: Define extension command only on the given objectNobuyoshi Nakada
Not to interfer in class variables.
2020-12-20Set non-verbose mode as well as tty modeNobuyoshi Nakada
2020-12-20Set :DEFAULT to PROMPT_MODE for CIaycabta
2020-12-20Suppress errors related to using variables that are not directly related to ↵aycabta
testing
2020-12-20[ruby/irb] Add measure commandaycabta
You can use "measure" command to check performance in IRB like below: irb(main):001:0> 3 => 3 irb(main):002:0> measure TIME is added. => nil irb(main):003:0> 3 processing time: 0.000058s => 3 irb(main):004:0> measure :off => nil irb(main):005:0> 3 => 3 You can set "measure :on" by "IRB.conf[:MEASURE] = true" in .irbrc, and, also, set custom performance check method: IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |context, code, line_no, &block| time = Time.now result = block.() now = Time.now puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE] result } https://github.com/ruby/irb/commit/3899eaf2e2
2020-12-19[ruby/ostruct] Add Ractor testMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3942
2020-12-19[ruby/matrix] Add Ractor testMarc-Andre Lafortune
This reverts commit cacdf2681dcc7c431973f33a18979b10566ec2f9. Notes: Merged: https://github.com/ruby/ruby/pull/3942
2020-12-20[pathname] Make Pathname Ractor safe (#3940)Kenta Murata
Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2020-12-19[bigdecimal] Fix deprecation warning testKenta Murata
2020-12-19[bigdecimal] Add BigDecimal#n_significant_digitsKenta Murata
https://github.com/ruby/bigdecimal/commit/981dc48f95 https://github.com/ruby/bigdecimal/commit/9ecf880ec04
2020-12-19[bigdecimal] Make BigDecimal#precs deprecatedKenta Murata
https://github.com/ruby/bigdecimal/commit/7e80e6e145 https://github.com/ruby/bigdecimal/commit/0ed7846e8c
2020-12-19[bigdecimal] Add BigDecimal#precisionKenta Murata
https://github.com/ruby/bigdecimal/commit/458eb66c49
2020-12-19[bigdecimal] Make bigdecimal Ractor safeKenta Murata
https://github.com/ruby/bigdecimal/commit/93fc392640 https://github.com/ruby/bigdecimal/commit/a90d13c4d0
2020-12-19[bigdecimal] Fix the default precision of Float#to_dKenta Murata
Fix https://github.com/ruby/bigdecimal/issues/70 [Bug #13331] https://github.com/ruby/bigdecimal/commit/aa536cd4b5
2020-12-19test/ruby/test_module.rb: Avoid "warning: method redefined"Yusuke Endoh
2020-12-19Recommit 34f06062174882a98ebef998c50ad8d4f7fc0f2eYusuke Endoh
2020-12-19ripper: fix `#tok` on some error events [Bug 17345]Nobuhiro IMAI
sorting alias target by event arity, and setup suitable `Elem` for error. Notes: Merged: https://github.com/ruby/ruby/pull/3936
2020-12-19Try to test with rake-13.0.2 again.Hiroshi SHIBATA
[ruby/fileutils] Make verbose output go to stdout instead of stderr This reverts commit 510df47f5f7f83918d3aa00316c8a5b959d80d7c.
2020-12-19[digest] Make digest Ractor safeKenta Murata
https://github.com/ruby/digest/commit/c13a024b85 https://github.com/ruby/digest/commit/9edca3f8be https://github.com/ruby/digest/commit/378b56b6ca
2020-12-19Partially reintroduce e042e8460bb9a63c05f938d51e8c7c5345a6f3a4 and ...Yusuke Endoh
34f06062174882a98ebef998c50ad8d4f7fc0f2e Add a test for alias_method
2020-12-19Added missing tests for public, private, protected and alias_methodNobuyoshi Nakada
2020-12-19fix refinements/prepend bugKoichi Sasada
replaced method entry should be invalidated. [Bug #17386]
2020-12-19Added tests for [Feature #17314]Yusuke Endoh
Partially reintroduce 34f06062174882a98ebef998c50ad8d4f7fc0f2e
2020-12-18Use category: :deprecated in warnings that are related to deprecationJeremy Evans
Also document that both :deprecated and :experimental are supported :category option values. The locations where warnings were marked as deprecation warnings was previously reviewed by shyouhei. Comment a couple locations where deprecation warnings should probably be used but are not currently used because deprecation warning enablement has not occurred at the time they are called (RUBY_FREE_MIN, RUBY_HEAP_MIN_SLOTS, -K). Add assert_deprecated_warn to test assertions. Use this to simplify some tests, and fix failing tests after marking some warnings with deprecated category. Notes: Merged: https://github.com/ruby/ruby/pull/3917
2020-12-19[bigdecimal] Fix test for d5ab8e8562Kenta Murata
2020-12-19[ruby/reline] Yank by em-kill-region correctlyaycabta
This closes ruby/reline#106. https://github.com/ruby/reline/commit/2549a52e15
2020-12-19[ruby/reline] Bind yank-pop correctlyaycabta
https://github.com/ruby/reline/commit/3c74beac65
2020-12-19[ruby/reline] Add Enumerable to KillRing for debuggingaycabta
https://github.com/ruby/reline/commit/d208874152
2020-12-19Fixed not to make non-literal expression shareable [Feature #17273]Nobuyoshi Nakada
Non-literal expression which is not a part of a literal expression is not a subject of `shareable_literal_value: literal`.
2020-12-18[stringio] Make stringio Ractor safeKenta Murata
https://github.com/ruby/stringio/commit/ee3fec7512 https://github.com/ruby/stringio/commit/18dcd045ef https://github.com/ruby/stringio/commit/18dcd045ef
2020-12-18Removed old GC tuning environment variables deprecated since 2.1Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3921
2020-12-18Revert "Added missing tests for public, private, protected and alias_method"Yusuke Endoh
This reverts commit e042e8460bb9a63c05f938d51e8c7c5345a6f3a4.
2020-12-18Revert "Added tests for [Feature #17314]"Yusuke Endoh
This reverts commit 34f06062174882a98ebef998c50ad8d4f7fc0f2e.
2020-12-18Drop token info also for endless singleton method definitionNobuyoshi Nakada
2020-12-18[strscan] Make strscan Ractor safe (#17)Kenta Murata
* Make strscan Ractor safe * Add test-unit in the development dependencies https://github.com/ruby/strscan/commit/3c93c2bebe
2020-12-18Merge RubyGems 3.2.2 and Bundler 2.2.2Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3930
2020-12-18Added tests for [Feature #17314]Nobuyoshi Nakada
2020-12-18Added missing tests for public, private, protected and alias_methodNobuyoshi Nakada
2020-12-18use eval to create different Regexp objectsKoichi Sasada
Only one warning is shown for the same Regexp object, so create different objects to support repeating tests. http://ci.rvm.jp/results/trunk-repeat20@phosphorus-docker/3290658
2020-12-17test/ruby: suppress some warningsYusuke Endoh
follow up to 9908177857a28633d6279c43a1ad4dfedcb98596
2020-12-17[ruby/irb] Skip the few failing tests on TruffleRubyBenoit Daloze
https://github.com/ruby/irb/commit/22717844c0
2020-12-17[ruby/reline] Support longer than screen height on Windowsaycabta
https://github.com/ruby/reline/commit/2a97ca9362
2020-12-17[ruby/reline] Support longer than screen heightaycabta
https://github.com/ruby/reline/commit/e83a3de9ed
2020-12-17test/ruby: Check warning messages at a finer granularityNobuyoshi Nakada
Instead of suppressing all warnings wholly in each test scripts by setting `$VERBOSE` to `nil` in `setup` methods. Notes: Merged: https://github.com/ruby/ruby/pull/3925 Merged-By: nobu <nobu@ruby-lang.org>