summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-09-09test/psych/test_scalar_scanner.rb: Prevent a warningYusuke Endoh
``` [ 4696/20990] TestAst#test_ranges:test/psych/test_scalar_scanner.rb(none):138: warning: ambiguous first argument; put parentheses or a space even after `-' operator ``` http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20210909T123007Z.log.html.gz
2021-09-08[Bug #18154] Fix memory leak in String#initializePeter Zhu
String#initialize can leak memory when called on a string that is marked with STR_NOFREE because it does not unset the STR_NOFREE flag. Notes: Merged: https://github.com/ruby/ruby/pull/4814
2021-09-08[ruby/irb] Use "csv" for testaycabta
The "csv" doesn't conflict with other stdlib names in any Ruby processing system. https://github.com/ruby/irb/commit/49203a1c83
2021-09-08[ruby/irb] Show lib name first because it's the most common use caseaycabta
https://github.com/ruby/irb/commit/74d635758b
2021-09-08[ruby/reline] Move only one line when render a line and then go to the next lineaycabta
https://github.com/ruby/reline/commit/8a966cd962
2021-09-07[ruby/pathname] Prefer omit over skipNobuyoshi Nakada
https://github.com/ruby/pathname/commit/abd0b91044
2021-09-06Removed obsoleted commentHiroshi SHIBATA
2021-09-06Use Test::Unit::PendedError instead of MiniTest::Skip for test-unit migrationHiroshi SHIBATA
2021-09-06Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for ↵Hiroshi SHIBATA
test-unit migration
2021-09-06Removed redundant testsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4811
2021-09-06Removed MiniTest::Assertion from test/rdocHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4811
2021-09-06[ruby/reline] Add a test for key bindings with Reline::Keyaycabta
https://github.com/ruby/reline/commit/cadbd576c7
2021-09-06[ruby/reline] Add a test for oneshot key bindingsaycabta
https://github.com/ruby/reline/commit/42ebea82b7
2021-09-06[ruby/reline] Rename a temporary test name to appropriate oneaycabta
https://github.com/ruby/reline/commit/26ebecde5c
2021-09-06[ruby/reline] Add a test for Reline::Unicode#take_rangeaycabta
https://github.com/ruby/reline/commit/af7953ff93
2021-09-05[ruby/fiddle] Use test-unit gem (https://github.com/ruby/fiddle/pull/69)Hiroshi SHIBATA
https://github.com/ruby/fiddle/commit/e08c4c635e Co-authored-by: Sutou Kouhei <kou@clear-code.com> Notes: Merged: https://github.com/ruby/ruby/pull/4810
2021-09-04[ruby/irb] Suppress "assigned but unused variable" warningaycabta
https://github.com/ruby/irb/commit/a1ddf64c69
2021-09-04[ruby/irb] Add an assertion to check completion "var.method" to get correct ↵aycabta
"class.method" https://github.com/ruby/irb/commit/cc1ddb37a9
2021-09-04[ruby/irb] Retrieve completed receiver that is a module or class correctlyaycabta
https://github.com/ruby/irb/commit/b2324727e1
2021-09-04[ruby/irb] Use autocomplete with show doc dialog that uses Reline::Key in testsaycabta
https://github.com/ruby/irb/commit/142fc53e9c
2021-09-03[ruby/rdoc] Add tests for `--template-stylesheets` optionNobuyoshi Nakada
Also flattens `@options.template_stylesheets` when parsing the command lines. Fixes #205 Fixes #828 too https://github.com/ruby/rdoc/commit/857002a763
2021-09-03[ruby/rdoc] Try to load WEBrick for testingVít Ondruch
This is in similar vein Rake is optionally loaded in: https://github.com/ruby/rdoc/blob/5437418baf8eeb984fe7e74b181d3da1b174d0f7/test/rdoc/test_rdoc_task.rb#L3-L6 https://github.com/ruby/rdoc/commit/5f3901ae60
2021-09-03[ruby/rdoc] s/minitest/test-unit/gHiroshi SHIBATA
https://github.com/ruby/rdoc/commit/73c030c7b0
2021-09-03[ruby/rdoc] Removed duplicated docHiroshi SHIBATA
https://github.com/ruby/rdoc/commit/0dd36a5c35
2021-09-03[ruby/irb] Add TODO comment to remove disabling autocomplete lateraycabta
https://github.com/ruby/irb/commit/856f001b60
2021-09-03[ruby/irb] Disable autocomplete in yamatanooroti testaycabta
https://github.com/ruby/irb/commit/cb9c9c64df
2021-09-03[ruby/readline-ext] Omit Editline on without tty testaycabta
https://github.com/ruby/readline-ext/commit/a2835ce957
2021-09-02Fix typo in test namePeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4800
2021-09-02[ruby/irb] Detect the variable class to show docaycabta
https://github.com/ruby/irb/commit/33b9bec954
2021-09-02[ruby/reline] Fix a crash when completing empty lineaycabta
https://github.com/ruby/reline/commit/8226ae7e57
2021-09-02[ruby/reline] Fix a crash when completing after 2nd lineaycabta
https://github.com/ruby/reline/commit/f9d3480c34
2021-09-02Refined test [Bug #18140]Nobuyoshi Nakada
2021-09-01Guard array when appendingAaron Patterson
This prevents early collection of the array. The GC doesn't see the array on the stack when Ruby is compiled with optimizations enabled Thanks @jhaberman for the test case [ruby-core:105099] [Bug #18140]
2021-09-02Stop stale tests [Bug #9718]Nobuyoshi Nakada
2021-09-02Test against the target classNobuyoshi Nakada
2021-09-02Guard array when appendingAaron Patterson
This prevents early collection of the array. The GC doesn't see the array on the stack when Ruby is compiled with optimizations enabled [ruby-core:105099] [Bug #18140]
2021-09-02[ruby/rdoc] Move RDoc::RDoc#load_options to RDoc::RDoc.load_optionsaycabta
https://github.com/ruby/rdoc/commit/ac85e01756
2021-09-01Add a test for Readline.readline without ttyaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/4796
2021-08-31Revert "Omit some tests until debugging is complete"aycabta
This reverts commit 3695d94b25f3e3e0d7a629bf1708ef421a51dd47.
2021-08-31[ruby/psych] Replace A-Za-z with [:alpha:]jory-graham
https://github.com/ruby/psych/commit/8ec36494fb
2021-08-31[ruby/psych] Add quotes to the strings "y" and "n"Aaron Patterson
'y' and 'n' are kind of ambiguous. Syck treated y and n literals in YAML documents as strings. But this is not what the YAML 1.1 spec says. YAML 1.1 says they should be treated as booleans. When we're dumping documents, we know it's a string, so adding quotes will eliminate the "ambiguity" in the emitted document Fixes #443 https://github.com/ruby/psych/commit/6a1c30634e
2021-08-31[ruby/psych] add more testsAlexandr Opak
https://github.com/ruby/psych/commit/8f71222bf3
2021-08-31[ruby/psych] fix typoAlexandr Opak
https://github.com/ruby/psych/commit/ebb0cbded1
2021-08-31[ruby/psych] fix parsing integer values with '_' at the endAlexandr Opak
https://github.com/ruby/psych/commit/e0bb853014
2021-08-31[ruby/psych] Improve float scalar scannerTomer Brisker
Previously, `+.inf` was not handled correctly. Additionally, the regexp was checking for inf and NaN, even though these cases are handled earlier in the condition. Added a few tests to ensure handling some missing cases. https://github.com/ruby/psych/commit/6e0e7a1e9f
2021-08-31[rubygems/rubygems] Merge `Gem::UriParser` and `Gem::PrintableUri` into a ↵David Rodríguez
`Gem::Uri` class The new class is a wrapper on top of an URI. And then, when you want credentials redacted, you call `#redacted` that returns a copy of itself, but with credentials redacted. https://github.com/rubygems/rubygems/commit/9581c2740a Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Remove unnecessary testsDaniel Niknam
We will be passing string to this class so there is no need to be defensive about it. https://github.com/rubygems/rubygems/commit/30bd52a977 Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Remove @credential_redacted instance variableDaniel Niknam
https://github.com/rubygems/rubygems/commit/c3bb52eb5c Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Refactor `Gem::RemoteFetcher::FetchError.build` back to ↵Daniel Niknam
its initialize method https://github.com/rubygems/rubygems/commit/21dcdd2dc5 Notes: Merged: https://github.com/ruby/ruby/pull/4789
2021-08-31[rubygems/rubygems] Remove defensive guardsDaniel Niknam
https://github.com/rubygems/rubygems/commit/dba130cd80 Notes: Merged: https://github.com/ruby/ruby/pull/4789