From 729d1e33c12f5977bdbafcb77ba8fe4ed5ad2240 Mon Sep 17 00:00:00 2001 From: Watson Date: Wed, 23 Jul 2014 23:27:48 +0900 Subject: [PATCH] [test] add spec for RM-407 --- test/test/spec/weakref_spec.rb | 1 + vm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test/spec/weakref_spec.rb b/test/test/spec/weakref_spec.rb index 65a817df..6b0d7c4a 100644 --- a/test/test/spec/weakref_spec.rb +++ b/test/test/spec/weakref_spec.rb @@ -44,6 +44,7 @@ describe "WeakRef" do hash = {weak_key => 42} hash[key].should == 42 hash[weak_key].should == 42 + hash["key"].should == 42 hash = {weak_key => 42} hash[weak_key] = 123 diff --git a/vm b/vm index 0e12100f..2271086d 160000 --- a/vm +++ b/vm @@ -1 +1 @@ -Subproject commit 0e12100fc0adea21e83a541d8779ca4d9a395e79 +Subproject commit 2271086dd7e38a43baa2b1db05e185b15e97f9c9