Skip to content

Commit

Permalink
Fix test title for Thread#thread_variable_get
Browse files Browse the repository at this point in the history
This does not use `Thread#[]`
  • Loading branch information
herwinw authored and eregon committed Jan 8, 2024
1 parent 5afe72d commit 9ea513b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/thread/thread_variable_get_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@t.thread_variable_get(:a).should be_nil
end

it "returns the value previously set by #[]=" do
it "returns the value previously set by #thread_variable_set" do
@t.thread_variable_set :a, 49
@t.thread_variable_get(:a).should == 49
end
Expand Down

0 comments on commit 9ea513b

Please sign in to comment.