Commit ead35db1
ead35db19644Merged
Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 101 files
Description
chore: drop bm_ prefix from test/ files
The bm_ prefix is short for "benchmark" and is a leftover from when all .rb files lived in a single directory before the test/-and- benchmark/ split. After the split it stayed put on every test file out of inertia, but it has not been meaningful for a long time: test/ files are language feature tests, not benchmarks. New contributors hit the inconsistency every time they add a test.
Rename all 102 top-level test/bm_.rb to test/.rb. One conflict (both bm_features.rb and features.rb already exist with different content) is resolved by renaming bm_features.rb to the more descriptive method_introspection.rb instead — the file actually covers method and freeze/frozen?.
Bootstrap fixed-point clean; 103 tests + 56 benches green. The unrelated test/bm_require* directories are out of scope and stay as-is for now (they are not currently exercised by the test loop).
Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]
Details
- Commit
- ead35db19644
- Parent
- d52eb232f703
test/array2.rbrenamedView file
No text changes
test/array3.rbrenamedView file
Loading diff…
test/array_fill.rbrenamedView file
Loading diff…
test/array_lit.rbrenamedView file
Loading diff…
test/array_new_block.rbrenamedView file
Loading diff…
test/array_of_array.rbrenamedView file
Loading diff…
test/array_push.rbrenamedView file
Loading diff…
test/array_range.rbrenamedView file
Loading diff…
test/array_replace.rbrenamedView file
Loading diff…
test/array_reverse_bang.rbrenamedView file
Loading diff…
test/array_sort_bang.rbrenamedView file
Loading diff…
test/attr.rbrenamedView file
Loading diff…
test/block2.rbrenamedView file
Loading diff…
test/case.rbrenamedView file
Loading diff…
test/catch.rbrenamedView file
Loading diff…
test/class_def_order.rbrenamedView file
Loading diff…
test/comparable.rbrenamedView file
Loading diff…
test/constant_path_builtin_new.rbrenamedView file
Loading diff…
test/constant_path_nested_read.rbrenamedView file
Loading diff…
test/constant_path_new.rbrenamedView file
Loading diff…
test/constants.rbrenamedView file
Loading diff…
test/control.rbrenamedView file
Loading diff…
test/enumerable.rbrenamedView file
Loading diff…
test/exceptions.rbrenamedView file
Loading diff…
test/fiber.rbrenamedView file
Loading diff…
test/fileio.rbrenamedView file
Loading diff…
test/fileopen.rbrenamedView file
Loading diff…
test/fileops.rbrenamedView file
Loading diff…
test/float_array.rbrenamedView file
Loading diff…
test/float_array_range.rbrenamedView file
Loading diff…
test/hash.rbrenamedView file
Loading diff…
test/inference_method_set.rbrenamedView file
Loading diff…
test/inherit.rbrenamedView file
Loading diff…
test/init_locals.rbrenamedView file
Loading diff…
test/int_str_hash.rbrenamedView file
Loading diff…
test/introspect.rbrenamedView file
Loading diff…
test/ivar_c_keyword.rbrenamedView file
Loading diff…
test/kwargs.rbrenamedView file
Loading diff…
test/lrama_features.rbrenamedView file
Loading diff…
test/lrama_features2.rbrenamedView file
Loading diff…
test/lrama_features3.rbrenamedView file
Loading diff…
test/math.rbrenamedView file
Loading diff…
test/mega.rbrenamedView file
Loading diff…
test/method.rbrenamedView file
Loading diff…
test/method_introspection.rbrenamedView file
Loading diff…
test/misc.rbrenamedView file
Loading diff…
test/misc2.rbrenamedView file
Loading diff…
test/mixin.rbrenamedView file
Loading diff…
test/module_class_new.rbrenamedView file
Loading diff…
test/module_relative_constant_path.rbrenamedView file
Loading diff…
test/multi_return.rbrenamedView file
Loading diff…
test/mutable_str.rbrenamedView file
Loading diff…
test/mutable_str2.rbrenamedView file
Loading diff…
test/mutable_str3.rbrenamedView file
Loading diff…
test/nil_ivar.rbrenamedView file
Loading diff…
test/nullable.rbrenamedView file
Loading diff…
test/numeric.rbrenamedView file
Loading diff…
test/obj_array.rbrenamedView file
Loading diff…
test/object_truthy.rbrenamedView file
Loading diff…
test/open_class.rbrenamedView file
Loading diff…
test/pattern.rbrenamedView file
Loading diff…
test/poly.rbrenamedView file
Loading diff…
test/poly2.rbrenamedView file
Loading diff…
test/poly_arith.rbrenamedView file
Loading diff…
test/poly_hash.rbrenamedView file
Loading diff…
test/proc.rbrenamedView file
Loading diff…
test/proc_closure.rbrenamedView file
Loading diff…
test/range.rbrenamedView file
Loading diff…
test/range_exclusive.rbrenamedView file
Loading diff…
test/regexp.rbrenamedView file
Loading diff…
test/reopen_class.rbrenamedView file
Loading diff…
test/rescue.rbrenamedView file
Loading diff…
test/send.rbrenamedView file
Loading diff…
test/shuffle.rbrenamedView file
Loading diff…
test/sort_reduce.rbrenamedView file
Loading diff…
test/stdlib.rbrenamedView file
Loading diff…
test/str_array_map.rbrenamedView file
Loading diff…
test/str_array_range.rbrenamedView file
Loading diff…
test/str_format_arr.rbrenamedView file
Loading diff…
test/strindex.rbrenamedView file
Loading diff…
test/stringio.rbrenamedView file
Loading diff…
test/strings.rbrenamedView file
Loading diff…
test/strings2.rbrenamedView file
Loading diff…
test/strings3.rbrenamedView file
Loading diff…
test/struct.rbrenamedView file
Loading diff…
test/struct_inherit.rbrenamedView file
Loading diff…
test/struct_kw.rbrenamedView file
Loading diff…
test/sym_array.rbrenamedView file
Loading diff…
test/sym_array_full.rbrenamedView file
Loading diff…
test/sym_case.rbrenamedView file
Loading diff…
test/sym_hash.rbrenamedView file
Loading diff…
test/sym_methods.rbrenamedView file
Loading diff…
test/sym_poly.rbrenamedView file
Loading diff…
test/sym_semantics.rbrenamedView file
Loading diff…
test/sym_str_hash.rbrenamedView file
Loading diff…
test/system.rbrenamedView file
Loading diff…
test/system_expr.rbrenamedView file
Loading diff…
test/time.rbrenamedView file
Loading diff…
test/utf8.rbrenamedView file
Loading diff…
test/yield.rbrenamedView file
Loading diff…