[前][次][番号順一覧][スレッド一覧]

ruby-changes:34365

From: hsbt <ko1@a...>
Date: Mon, 16 Jun 2014 18:23:09 +0900 (JST)
Subject: [ruby-changes:34365] hsbt:r46446 (trunk): * test/uri/test_generic.rb: fix wrong arguments for test case.

hsbt	2014-06-16 18:23:02 +0900 (Mon, 16 Jun 2014)

  New Revision: 46446

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46446

  Log:
    * test/uri/test_generic.rb: fix wrong arguments for test case.

  Modified files:
    trunk/test/uri/test_generic.rb
Index: test/uri/test_generic.rb
===================================================================
--- test/uri/test_generic.rb	(revision 46445)
+++ test/uri/test_generic.rb	(revision 46446)
@@ -126,9 +126,9 @@ class URI::TestGeneric < Test::Unit::Tes https://github.com/ruby/ruby/blob/trunk/test/uri/test_generic.rb#L126
 
     # 8
     # reported by m_seki
-    uri = URI.parse('file:///foo/bar.txt')
+    url = URI.parse('file:///foo/bar.txt')
     assert_kind_of(URI::Generic, url)
-    uri = URI.parse('file:/foo/bar.txt')
+    url = URI.parse('file:/foo/bar.txt')
     assert_kind_of(URI::Generic, url)
 
     # 9

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]