diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-30 14:04:48 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-30 14:04:48 +0000 |
commit | 0357ac8a38a710a6b64bd8b2bb38f8ba91545eea (patch) | |
tree | 50578a5c517b7ff6330409d76ad86e3ea4d5f7e3 /test | |
parent | e62ee61262ec101b0456a17bb4ae71471ef8d91c (diff) | |
download | ruby-0357ac8a38a710a6b64bd8b2bb38f8ba91545eea.tar.gz |
* lib/rubygems/platform.rb (Gem::Platform#initialize): Support pattern
like x86_64-netbsd6.99.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_platform.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_platform.rb b/test/rubygems/test_gem_platform.rb index 0350d5f028..b6ddc0eca4 100644 --- a/test/rubygems/test_gem_platform.rb +++ b/test/rubygems/test_gem_platform.rb @@ -67,7 +67,8 @@ class TestGemPlatform < Gem::TestCase 'x86-mswin32' => ['x86', 'mswin32', nil], 'x86-mswin32_60' => ['x86', 'mswin32', '60'], 'x86-mswin32-60' => ['x86', 'mswin32', '60'], - 'i386-netbsdelf' => ['x86', 'netbsdelf', nil], + 'i386-netbsdelf5.1.' => ['x86', 'netbsdelf', '5'], + 'x86_64-netbsd6.99.7' => ['x86_64', 'netbsd', '6'], 'i386-openbsd4.0' => ['x86', 'openbsd', '4.0'], 'i386-solaris2.10' => ['x86', 'solaris', '2.10'], 'i386-solaris2.8' => ['x86', 'solaris', '2.8'], |