summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/shared/dedup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/shared/dedup.rb')
-rw-r--r--spec/ruby/core/string/shared/dedup.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/ruby/core/string/shared/dedup.rb b/spec/ruby/core/string/shared/dedup.rb
index 97b5df6ed1..1ffd6aa0fd 100644
--- a/spec/ruby/core/string/shared/dedup.rb
+++ b/spec/ruby/core/string/shared/dedup.rb
@@ -48,9 +48,4 @@ describe :string_dedup, shared: true do
dynamic.send(@method).should_not equal("this string is frozen".send(@method).freeze)
dynamic.send(@method).should equal(dynamic)
end
-
- it "interns the provided string if it is frozen" do
- dynamic = "this string is unique and frozen #{rand}".freeze
- dynamic.send(@method).should equal(dynamic)
- end
end