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

ruby-changes:36187

From: usa <ko1@a...>
Date: Tue, 4 Nov 2014 21:05:41 +0900 (JST)
Subject: [ruby-changes:36187] usa:r48268 (trunk): * test/rubygems/test_gem_request_set_lockfile.rb

usa	2014-11-04 21:05:26 +0900 (Tue, 04 Nov 2014)

  New Revision: 48268

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

  Log:
    * test/rubygems/test_gem_request_set_lockfile.rb
      (test_relative_path_from): driveletter support.

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem_request_set_lockfile.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48267)
+++ ChangeLog	(revision 48268)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Nov  4 21:04:30 2014  NAKAMURA Usaku  <usa@r...>
+
+	* test/rubygems/test_gem_request_set_lockfile.rb
+	  (test_relative_path_from): driveletter support.
+
 Tue Nov  4 16:23:57 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* test/rubygems/test_gem_remote_fetcher.rb (RemoteFetcherCleanup):
Index: test/rubygems/test_gem_request_set_lockfile.rb
===================================================================
--- test/rubygems/test_gem_request_set_lockfile.rb	(revision 48267)
+++ test/rubygems/test_gem_request_set_lockfile.rb	(revision 48268)
@@ -646,7 +646,7 @@ DEPENDENCIES https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_request_set_lockfile.rb#L646
   def test_relative_path_from
     path = @lockfile.relative_path_from '/foo', '/foo/bar'
 
-    assert_equal '/foo', path
+    assert_equal File.expand_path('/foo'), path
 
     path = @lockfile.relative_path_from '/foo', '/foo'
 

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

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