~ubuntu-branches/ubuntu/raring/jruby/raring

« back to all changes in this revision

Viewing changes to test/externals/ruby1.9/uri/test_http.rb

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Delafond
  • Date: 2010-05-12 15:56:25 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 maverick)
  • Revision ID: james.westby@ubuntu.com-20100512155625-sgdfaj1hn8k84090
Tags: 1.5.0~rc3-1
New upstream release (Closes: #581360).

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
  def test_parse
19
19
    u = URI.parse('http://a')
20
20
    assert_kind_of(URI::HTTP, u)
21
 
    assert_equal(['http', 
 
21
    assert_equal(['http',
22
22
                   nil, 'a', URI::HTTP.default_port,
23
23
                   '', nil, nil], uri_to_ary(u))
24
24
  end