Skip to content

rake test fails TestStubbing#test_partial_mocks_leaves_NoMethodError_exceptions_raised_by_the_original_method_unchanged #37

@micwoj92

Description

@micwoj92

ruby 3.4.7
minitest 5.26.1
rake 13.3.1
simplecov 0.22.0

** Invoke test (first_time)
** Execute test
Run options: --seed 47144

# Running:

......................................./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
..../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
................/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.........../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
............................/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.............F............../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
................../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
................/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:22: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.........../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
...../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.................../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
........./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
........../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.........../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
..../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
...../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
...../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
....../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
....../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
......../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
..../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
......./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
................./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.........../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
......./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
....../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
....../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
................/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
./build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
..../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
.........../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:36: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
........../build/ruby-flexmock/src/flexmock/lib/flexmock/spy_describers.rb:34: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
...../build/ruby-flexmock/src/flexmock/lib/flexmock/partial_mock.rb:73: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
...........

Finished in 0.112398s, 4137.0890 runs/s, 8905.8626 assertions/s.

  1) Failure:
TestStubbing#test_partial_mocks_leaves_NoMethodError_exceptions_raised_by_the_original_method_unchanged [test/partial_mock_test.rb:637]:
Expected /undefined method `does_not_exist' for/ to match # encoding: US-ASCII
#    valid: true
"undefined method 'does_not_exist' for #<#<Class:0x00007f7cc23d7e58>:0x00007f7cc21ec8f0>".

465 runs, 1001 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test:lib" -w /usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/rake_test_loader.rb "test/assert_spy_called_test.rb" "test/base_class_test.rb" "test/based_partials_test.rb" "test/container_methods_test.rb" "test/default_framework_adapter_test.rb" "test/demeter_mocking_test.rb" "test/deprecated_methods_test.rb" "test/examples_from_readme_test.rb" "test/expectation_description_test.rb" "test/extended_should_receive_test.rb" "test/flexmodel_test.rb" "test/mock_builder_test.rb" "test/naming_test.rb" "test/new_instances_test.rb" "test/object_extensions_test.rb" "test/partial_mock_test.rb" "test/record_mode_test.rb" "test/samples_test.rb" "test/should_ignore_missing_test.rb" "test/should_receive_test.rb" "test/spys_test.rb" "test/symbol_extensions_test.rb" "test/undefined_test.rb" ]
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/testtask.rb:130:in 'block (3 levels) in Rake::TestTask#define'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/file_utils.rb:57:in 'FileUtils#sh'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/file_utils.rb:102:in 'FileUtils#ruby'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/testtask.rb:117:in 'block (2 levels) in Rake::TestTask#define'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/file_utils_ext.rb:58:in 'Rake::FileUtilsExt#verbose'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/testtask.rb:111:in 'block in Rake::TestTask#define'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/task.rb:281:in 'block in Rake::Task#execute'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/task.rb:281:in 'Array#each'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/task.rb:281:in 'Rake::Task#execute'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/task.rb:219:in 'block in Rake::Task#invoke_with_call_chain'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/task.rb:199:in 'Monitor#synchronize'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/task.rb:199:in 'Rake::Task#invoke_with_call_chain'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/task.rb:188:in 'Rake::Task#invoke'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:188:in 'Rake::Application#invoke_task'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:138:in 'block (2 levels) in Rake::Application#top_level'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:138:in 'Array#each'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:138:in 'block in Rake::Application#top_level'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:147:in 'Rake::Application#run_with_threads'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:132:in 'Rake::Application#top_level'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:83:in 'block in Rake::Application#run'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:214:in 'Rake::Application#standard_exception_handling'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/application.rb:80:in 'Rake::Application#run'
/usr/lib/ruby/gems/3.4.0/gems/rake-13.3.1/exe/rake:27:in '<top (required)>'
/usr/bin/rake:25:in 'Kernel#load'
/usr/bin/rake:25:in '<main>'
Tasks: TOP => test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions