Sha256: eff91ab0da505ec7e4c368f953dbd86f696d8f09f16e9bbddf9f4fce1b3e9a2c
Contents?: true
Size: 275 Bytes
Versions: 9
Compression:
Stored size: 275 Bytes
Contents
require 'abstract_unit' class SymbolTests < Test::Unit::TestCase def test_to_proc assert_equal %w(one two three), [:one, :two, :three].map(&:to_s) assert_equal(%w(one two three), {1 => "one", 2 => "two", 3 => "three"}.sort_by(&:first).map(&:last)) end end
Version data entries
9 entries across 8 versions & 5 rubygems