ruby-changes:74388
From: Benoit <ko1@a...>
Date: Tue, 8 Nov 2022 04:06:47 +0900 (JST)
Subject: [ruby-changes:74388] 83decbb62b (master): Update to ruby/spec@740ccc8
https://git.ruby-lang.org/ruby.git/commit/?id=83decbb62b From 83decbb62b8b3f1638927033f12b55f9b11f78c6 Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Mon, 7 Nov 2022 20:05:30 +0100 Subject: Update to ruby/spec@740ccc8 --- spec/ruby/.rubocop.yml | 4 + spec/ruby/README.md | 1 - spec/ruby/core/array/pack/m_spec.rb | 10 +- spec/ruby/core/enumerable/each_cons_spec.rb | 6 + spec/ruby/core/enumerable/each_slice_spec.rb | 6 + spec/ruby/core/enumerator/lazy/compact_spec.rb | 11 ++ spec/ruby/core/enumerator/lazy/lazy_spec.rb | 10 -- spec/ruby/core/false/case_compare_spec.rb | 14 +++ spec/ruby/core/fiber/blocking_spec.rb | 4 +- spec/ruby/core/float/shared/to_i.rb | 4 + spec/ruby/core/hash/hash_spec.rb | 9 ++ spec/ruby/core/io/read_spec.rb | 7 -- spec/ruby/core/io/readpartial_spec.rb | 10 +- spec/ruby/core/io/set_encoding_spec.rb | 32 ++++- spec/ruby/core/kernel/Complex_spec.rb | 89 +++++++++++++- spec/ruby/core/kernel/fixtures/Complex.rb | 5 + spec/ruby/core/kernel/shared/load.rb | 16 +++ spec/ruby/core/matchdata/element_reference_spec.rb | 15 +++ spec/ruby/core/method/fixtures/classes.rb | 6 + spec/ruby/core/method/private_spec.rb | 21 ++++ spec/ruby/core/method/protected_spec.rb | 21 ++++ spec/ruby/core/method/public_spec.rb | 21 ++++ spec/ruby/core/method/super_method_spec.rb | 10 +- spec/ruby/core/process/_fork_spec.rb | 24 ++++ spec/ruby/core/process/spawn_spec.rb | 18 +++ spec/ruby/core/regexp/timeout_spec.rb | 35 ++++++ spec/ruby/core/string/element_set_spec.rb | 4 +- spec/ruby/core/string/fixtures/to_c.rb | 5 + spec/ruby/core/string/gsub_spec.rb | 35 +++++- spec/ruby/core/string/index_spec.rb | 8 ++ spec/ruby/core/string/partition_spec.rb | 22 ++++ spec/ruby/core/string/rindex_spec.rb | 8 ++ spec/ruby/core/string/rpartition_spec.rb | 22 ++++ spec/ruby/core/string/sub_spec.rb | 32 +++++ spec/ruby/core/string/to_c_spec.rb | 105 ++++------------ spec/ruby/core/string/unpack/b_spec.rb | 6 +- spec/ruby/core/string/unpack/m_spec.rb | 5 + spec/ruby/core/struct/initialize_spec.rb | 8 ++ spec/ruby/core/struct/keyword_init_spec.rb | 21 ++++ spec/ruby/core/thread/backtrace/limit_spec.rb | 15 +++ spec/ruby/core/thread/native_thread_id_spec.rb | 15 +++ spec/ruby/core/time/at_spec.rb | 5 + spec/ruby/core/time/new_spec.rb | 51 ++++++++ spec/ruby/core/time/now_spec.rb | 45 +++++++ spec/ruby/core/time/shared/local.rb | 11 +- spec/ruby/core/time/strftime_spec.rb | 9 ++ spec/ruby/core/tracepoint/allow_reentry_spec.rb | 32 +++++ spec/ruby/core/unboundmethod/fixtures/classes.rb | 6 + spec/ruby/core/unboundmethod/private_spec.rb | 21 ++++ spec/ruby/core/unboundmethod/protected_spec.rb | 21 ++++ spec/ruby/core/unboundmethod/public_spec.rb | 21 ++++ spec/ruby/core/unboundmethod/super_method_spec.rb | 10 +- spec/ruby/language/block_spec.rb | 43 +++++++ spec/ruby/language/keyword_arguments_spec.rb | 15 +++ spec/ruby/language/method_spec.rb | 29 +++++ spec/ruby/library/cmath/math/acos_spec.rb | 1 - spec/ruby/library/cmath/math/acosh_spec.rb | 1 - spec/ruby/library/cmath/math/asin_spec.rb | 1 - spec/ruby/library/cmath/math/asinh_spec.rb | 1 - spec/ruby/library/cmath/math/atan2_spec.rb | 1 - spec/ruby/library/cmath/math/atan_spec.rb | 1 - spec/ruby/library/cmath/math/atanh_spec.rb | 1 - spec/ruby/library/cmath/math/cos_spec.rb | 1 - spec/ruby/library/cmath/math/cosh_spec.rb | 1 - spec/ruby/library/cmath/math/exp_spec.rb | 1 - spec/ruby/library/cmath/math/fixtures/classes.rb | 4 - spec/ruby/library/cmath/math/log10_spec.rb | 1 - spec/ruby/library/cmath/math/log_spec.rb | 1 - spec/ruby/library/cmath/math/shared/acos.rb | 41 ------- spec/ruby/library/cmath/math/shared/acosh.rb | 37 ------ spec/ruby/library/cmath/math/shared/asin.rb | 47 -------- spec/ruby/library/cmath/math/shared/asinh.rb | 32 ----- spec/ruby/library/cmath/math/shared/atan.rb | 32 ----- spec/ruby/library/cmath/math/shared/atan2.rb | 34 ------ spec/ruby/library/cmath/math/shared/atanh.rb | 30 ----- spec/ruby/library/cmath/math/shared/cos.rb | 30 ----- spec/ruby/library/cmath/math/shared/cosh.rb | 28 ----- spec/ruby/library/cmath/math/shared/exp.rb | 28 ----- spec/ruby/library/cmath/math/shared/log.rb | 39 ------ spec/ruby/library/cmath/math/shared/log10.rb | 41 ------- spec/ruby/library/cmath/math/shared/sin.rb | 30 ----- spec/ruby/library/cmath/math/shared/sinh.rb | 28 ----- spec/ruby/library/cmath/math/shared/sqrt.rb | 34 ------ spec/ruby/library/cmath/math/shared/tan.rb | 28 ----- spec/ruby/library/cmath/math/shared/tanh.rb | 32 ----- spec/ruby/library/cmath/math/sin_spec.rb | 1 - spec/ruby/library/cmath/math/sinh_spec.rb | 1 - spec/ruby/library/cmath/math/sqrt_spec.rb | 1 - spec/ruby/library/cmath/math/tan_spec.rb | 1 - spec/ruby/library/cmath/math/tanh_spec.rb | 1 - spec/ruby/library/erb/new_spec.rb | 16 +++ spec/ruby/library/scanf/io/block_scanf_spec.rb | 1 - spec/ruby/library/scanf/io/fixtures/date.txt | 4 - spec/ruby/library/scanf/io/fixtures/helloworld.txt | 1 - spec/ruby/library/scanf/io/scanf_spec.rb | 1 - spec/ruby/library/scanf/io/shared/block_scanf.rb | 28 ----- spec/ruby/library/scanf/string/block_scanf_spec.rb | 1 - spec/ruby/library/scanf/string/scanf_spec.rb | 1 - .../library/scanf/string/shared/block_scanf.rb | 25 ---- spec/ruby/library/stringio/putc_spec.rb | 15 +++ spec/ruby/library/stringio/puts_spec.rb | 14 +++ spec/ruby/library/stringio/shared/write.rb | 15 +++ spec/ruby/optional/capi/class_spec.rb | 27 +++++ spec/ruby/optional/capi/ext/encoding_spec.c | 13 +- spec/ruby/optional/capi/ext/gc_spec.c | 31 +++++ spec/ruby/optional/capi/ext/globals_spec.c | 34 ++++++ spec/ruby/optional/capi/ext/rubyspec.h | 30 ----- spec/ruby/optional/capi/gc_spec.rb | 30 ++++- spec/ruby/optional/capi/globals_spec.rb | 54 ++++++++- spec/ruby/shared/kernel/complex.rb | 133 +++++++++++++++++++++ 110 files changed, 1274 insertions(+), 831 deletions(-) create mode 100644 spec/ruby/core/enumerator/lazy/compact_spec.rb create mode 100644 spec/ruby/core/false/case_compare_spec.rb create mode 100644 spec/ruby/core/kernel/fixtures/Complex.rb create mode 100644 spec/ruby/core/method/private_spec.rb create mode 100644 spec/ruby/core/method/protected_spec.rb create mode 100644 spec/ruby/core/method/public_spec.rb create mode 100644 spec/ruby/core/process/_fork_spec.rb create mode 100644 spec/ruby/core/regexp/timeout_spec.rb create mode 100644 spec/ruby/core/string/fixtures/to_c.rb create mode 100644 spec/ruby/core/struct/keyword_init_spec.rb create mode 100644 spec/ruby/core/thread/backtrace/limit_spec.rb create mode 100644 spec/ruby/core/thread/native_thread_id_spec.rb create mode 100644 spec/ruby/core/tracepoint/allow_reentry_spec.rb create mode 100644 spec/ruby/core/unboundmethod/private_spec.rb create mode 100644 spec/ruby/core/unboundmethod/protected_spec.rb create mode 100644 spec/ruby/core/unboundmethod/public_spec.rb delete mode 100644 spec/ruby/library/cmath/math/acos_spec.rb delete mode 100644 spec/ruby/library/cmath/math/acosh_spec.rb delete mode 100644 spec/ruby/library/cmath/math/asin_spec.rb delete mode 100644 spec/ruby/library/cmath/math/asinh_spec.rb delete mode 100644 spec/ruby/library/cmath/math/atan2_spec.rb delete mode 100644 spec/ruby/library/cmath/math/atan_spec.rb delete mode 100644 spec/ruby/library/cmath/math/atanh_spec.rb delete mode 100644 spec/ruby/library/cmath/math/cos_spec.rb delete mode 100644 spec/ruby/library/cmath/math/cosh_spec.rb delete mode 100644 spec/ruby/library/cmath/math/exp_spec.rb delete mode 100644 spec/ruby/library/cmath/math/fixtures/classes.rb delete mode 100644 spec/ruby/library/cmath/math/log10_spec.rb delete mode 100644 spec/ruby/library/cmath/math/log_spec.rb delete mode 100644 spec/ruby/library/cmath/math/shared/acos.rb delete mode 100644 spec/ruby/library/cmath/math/shared/acosh.rb delete mode 100644 spec/ruby/library/cmath/math/shared/asin.rb delete mode 100644 spec/ruby/library/cmath/math/shared/asinh.rb delete mode 100644 spec/ruby/library/cmath/math/shared/atan.rb delete mode 100644 spec/ruby/library/cmath/math/shared/atan2.rb delete mode 100644 spec/ruby/library/cmath/math/shared/atanh.rb delete mode 100644 spec/ruby/library/cmath/math/shared/cos.rb delete mode 100644 spec/ruby/library/cmath/math/shared/cosh.rb delete mode 100644 spec/ruby/library/cmath/math/shared/exp.rb delete mode 100644 spec/ruby/library/cmath/math/shared/log.rb delete mode 100644 spec/ruby/library/cmath/math/shared/log10.rb delete mode 100644 spec/ruby/library/cmath/math/shared/sin.rb delete mode 100644 spec/ruby/library/cmath/math/shared/sinh.rb delete mode 100644 spec/ruby/library/cmath/math/shared/sqrt.rb delete mode 100644 spec/ruby/library/cmath/math/shared/tan.rb delete mode 100644 spec/ruby/librar (... truncated) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/