From bbf54ec334fe2edd7669a944d88d17efde49a412 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Thu, 5 Jan 2023 19:05:29 +0100 Subject: Update to ruby/spec@9d69b95 --- spec/ruby/fixtures/code/load_wrap_fixture.rb | 12 ++++++++++++ spec/ruby/fixtures/code/wrap_fixture.rb | 9 --------- 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 spec/ruby/fixtures/code/load_wrap_fixture.rb delete mode 100644 spec/ruby/fixtures/code/wrap_fixture.rb (limited to 'spec/ruby/fixtures/code') diff --git a/spec/ruby/fixtures/code/load_wrap_fixture.rb b/spec/ruby/fixtures/code/load_wrap_fixture.rb new file mode 100644 index 0000000000..526bbf8c82 --- /dev/null +++ b/spec/ruby/fixtures/code/load_wrap_fixture.rb @@ -0,0 +1,12 @@ +class LoadSpecWrap + ScratchPad << String +end + +LOAD_WRAP_SPECS_TOP_LEVEL_CONSTANT = 1 + +def load_wrap_specs_top_level_method + :load_wrap_specs_top_level_method +end +ScratchPad << method(:load_wrap_specs_top_level_method).owner + +ScratchPad << self diff --git a/spec/ruby/fixtures/code/wrap_fixture.rb b/spec/ruby/fixtures/code/wrap_fixture.rb deleted file mode 100644 index 7ddf5a62e0..0000000000 --- a/spec/ruby/fixtures/code/wrap_fixture.rb +++ /dev/null @@ -1,9 +0,0 @@ -class LoadSpecWrap - ScratchPad << String -end - -def load_wrap_specs_top_level_method -end -ScratchPad << method(:load_wrap_specs_top_level_method).owner - -ScratchPad << self -- cgit v1.2.3