From 7343f15302ad70a33784eeba1aed5d383f004693 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 4 Nov 2014 12:05:26 +0000 Subject: [PATCH] * test/rubygems/test_gem_request_set_lockfile.rb (test_relative_path_from): driveletter support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/rubygems/test_gem_request_set_lockfile.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4d0a28e4af..6e9e77ebdb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 4 21:04:30 2014 NAKAMURA Usaku + + * test/rubygems/test_gem_request_set_lockfile.rb + (test_relative_path_from): driveletter support. + Tue Nov 4 16:23:57 2014 Nobuyoshi Nakada * test/rubygems/test_gem_remote_fetcher.rb (RemoteFetcherCleanup): diff --git a/test/rubygems/test_gem_request_set_lockfile.rb b/test/rubygems/test_gem_request_set_lockfile.rb index 6b6c727459..1022d035fe 100644 --- a/test/rubygems/test_gem_request_set_lockfile.rb +++ b/test/rubygems/test_gem_request_set_lockfile.rb @@ -646,7 +646,7 @@ DEPENDENCIES 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'