aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/test_gem_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index d40fbc93bf..848151eeef 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -1217,7 +1217,7 @@ load Gem.bin_path('a', 'executable', version)
def test_dir
util_setup_install
- assert_match @installer.dir, %r!/installer/gems/a-2$!
+ assert_match %r!/installer/gems/a-2\z!, @installer.dir
end
def old_ruby_required