~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to test/ruby/test_symbol.rb

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-01-24 11:42:29 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080124114229-jw2f87rdxlq6gp11
Tags: 1.9.0.0-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Robustify check for target_os, fixing build failure on lpia.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    assert_inspect_evaled(':$0')
75
75
    assert_inspect_evaled(':$1')
76
76
  end
 
77
 
 
78
  def test_to_proc
 
79
    assert_equal %w(1 2 3), (1..3).map(&:to_s)
 
80
  end
77
81
end