summaryrefslogtreecommitdiff
path: root/test/ruby/test_symbol.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_symbol.rb')
-rw-r--r--test/ruby/test_symbol.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index ac73dc9..2ccfe64 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -74,11 +74,4 @@ class TestSymbol < Test::Unit::TestCase
assert_inspect_evaled(':$0')
assert_inspect_evaled(':$1')
end
-
- def test_to_proc
- assert_equal %w(1 2 3), (1..3).map(&:to_s)
- assert_nothing_raised(ArgumentError) { :object_id.to_proc.call([]) }
- assert_nothing_raised(ArgumentError) { :object_id.to_proc.call([1]) }
- assert_nothing_raised(ArgumentError) { :object_id.to_proc.call([1,2]) }
- end
end