diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2024-07-17 22:10:26 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-07-18 09:25:16 +0000 |
| commit | f78a8761c4e8ea679b7b6352880b8b53714687ae (patch) | |
| tree | e3d687844f2eb9b459c8fd8992689af16673216e | |
| parent | c032e2c225f4c20ba35cc40a3dd00eef9ae62cfd (diff) | |
[rubygems/rubygems] Remove unnecessary Windows test skip
https://github.com/rubygems/rubygems/commit/946180f5c1
| -rw-r--r-- | test/rubygems/test_gem_specification.rb | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 8b17900e48..71b2f1ca67 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -2978,19 +2978,15 @@ duplicate dependency on c (>= 1.2.3, development), (~> 1.2) use: end def test_validate_empty_require_paths - if Gem.win_platform? - pend "test_validate_empty_require_paths skipped on MS Windows (symlink)" - else - util_setup_validate - - @a1.require_paths = [] - e = assert_raise Gem::InvalidSpecificationException do - @a1.validate - end + util_setup_validate - assert_equal "specification must have at least one require_path", - e.message + @a1.require_paths = [] + e = assert_raise Gem::InvalidSpecificationException do + @a1.validate end + + assert_equal "specification must have at least one require_path", + e.message end def test_validate_files |
