ruby/tool/test
Koichi Sasada 9180e33ca3 show warning for unused block
With verbopse mode (-w), the interpreter shows a warning if
a block is passed to a method which does not use the given block.

Warning on:

* the invoked method is written in C
* the invoked method is not `initialize`
* not invoked with `super`
* the first time on the call-site with the invoked method
  (`obj.foo{}` will be warned once if `foo` is same method)

[Feature #15554]

`Primitive.attr! :use_block` is introduced to declare that primitive
functions (written in C) will use passed block.

For minitest, test needs some tweak, so use
ea9caafc07
for `test-bundled-gems`.
2024-04-15 12:08:07 +09:00
..
testunit show warning for unused block 2024-04-15 12:08:07 +09:00
webrick Ensure test suite is compatible with --frozen-string-literal 2024-03-14 17:56:15 +01:00
init.rb Refactor the settings of test-all out 2023-11-15 19:27:10 +09:00
runner.rb Refactor the settings of test-all out 2023-11-15 19:27:10 +09:00
test_jisx0208.rb
test_sync_default_gems.rb Test_SyncDefaultGems: Fail when editor run (#9365) 2023-12-26 21:43:23 +00:00