~ubuntu-branches/ubuntu/quantal/ruby1.9.1/quantal

« back to all changes in this revision

Viewing changes to test/ruby/test_array.rb

  • Committer: Package Import Robot
  • Author(s): Lucas Nussbaum
  • Date: 2011-10-31 08:44:23 UTC
  • mfrom: (1.1.9) (13.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20111031084423-os12w01drsg098yk
Tags: 1.9.3.0-1
* New upstream release: 1.9.3p0.
* Disable test suites on ia64 sparc kfreebsd-i386 kfreebsd-amd64.
  Those architectures are known to be broken at the moment.
  Details: http://lists.debian.org/debian-release/2011/10/msg00279.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
926
926
    assert_equal(Encoding::US_ASCII, [1, [u]].join.encoding)
927
927
    assert_equal(Encoding::UTF_8, [u, [e]].join.encoding)
928
928
    assert_equal(Encoding::UTF_8, [u, [1]].join.encoding)
 
929
    bug5379 = '[ruby-core:39776]'
 
930
    assert_equal(Encoding::US_ASCII, [[], u, nil].join.encoding, bug5379)
 
931
    assert_equal(Encoding::UTF_8, [[], "\u3042", nil].join.encoding, bug5379)
929
932
  ensure
930
933
    $, = nil
931
934
  end