aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-06 11:59:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-06 11:59:12 +0000
commitd510cbe47a6b600a1f40ac4a8aa778f67b34aa2c (patch)
tree5e475fd8642a3fb68384639577609db14e766706
parent20e9854dc7d970344f6b9409ee2e55109a2e9361 (diff)
downloadpaludis-d510cbe47a6b600a1f40ac4a8aa778f67b34aa2c.tar.gz
paludis-d510cbe47a6b600a1f40ac4a8aa778f67b34aa2c.tar.xz
IDs might be in either order
-rw-r--r--ruby/repository_TEST.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/repository_TEST.rb b/ruby/repository_TEST.rb
index aec9b21..3e02608 100644
--- a/ruby/repository_TEST.rb
+++ b/ruby/repository_TEST.rb
@@ -103,6 +103,7 @@ module Paludis
assert_nothing_raised do
repo.package_ids('foo/bar') do |pid|
+ next if pid.version == VersionSpec.new("2.0")
assert_equal VersionSpec.new('1.0'), pid.version
break
end