summaryrefslogtreecommitdiff
path: root/spec/ruby/core/unboundmethod/shared
diff options
context:
space:
mode:
authorAndrew Konchin <[email protected]>2025-01-30 17:39:10 +0200
committerBenoit Daloze <[email protected]>2025-01-30 20:43:46 +0100
commitd7a5ad2a21f7d2c45e3fea674ff077bb0e2cadae (patch)
treed49629b969bb4d13b74fd1bfeebf15553cc3d5d2 /spec/ruby/core/unboundmethod/shared
parentea2dd5b80e26036af83e7b37d722f4a106188555 (diff)
Update to ruby/spec@affef93
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12679
Diffstat (limited to 'spec/ruby/core/unboundmethod/shared')
-rw-r--r--spec/ruby/core/unboundmethod/shared/dup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/unboundmethod/shared/dup.rb b/spec/ruby/core/unboundmethod/shared/dup.rb
index 943a7faaa3..194e2cc1a1 100644
--- a/spec/ruby/core/unboundmethod/shared/dup.rb
+++ b/spec/ruby/core/unboundmethod/shared/dup.rb
@@ -16,7 +16,7 @@ describe :unboundmethod_dup, shared: true do
end
it "copies the finalizer" do
- code = <<-RUBY
+ code = <<-'RUBY'
obj = Class.instance_method(:instance_method)
ObjectSpace.define_finalizer(obj, Proc.new { STDOUT.write "finalized\n" })