diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-08-02 10:27:42 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-08-04 13:36:45 +0900 |
commit | 542040fb8375ffd74096ae0615a33bbc90524cb3 (patch) | |
tree | 2cea6b5f9c8275e766f95f9a2137fe78e4ee09cc /test/rubygems/test_gem_installer.rb | |
parent | 0591780a74f9893038d5d794a958621189953e8a (diff) | |
download | ruby-542040fb8375ffd74096ae0615a33bbc90524cb3.tar.gz |
[rubygems/rubygems] Warn dangling symlinks
https://github.com/rubygems/rubygems/commit/425b78637f
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r-- | test/rubygems/test_gem_installer.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index d269644ade..55f0a074b8 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -756,7 +756,10 @@ gem 'other', version end end - assert_match %r{bin/ascii_binder` is dangling symlink pointing to `bin/asciibinder`}, @ui.error + errors = @ui.error.split("\n") + assert_equal "WARNING: ascii_binder-0.1.10.1 ships with a dangling symlink named bin/ascii_binder pointing to missing bin/asciibinder file. Ignoring", errors.shift + assert_empty errors + assert_empty @ui.output end |