aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruby/repository_TEST.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/repository_TEST.rb b/ruby/repository_TEST.rb
index db6cc7e51..2acea00e6 100644
--- a/ruby/repository_TEST.rb
+++ b/ruby/repository_TEST.rb
@@ -97,7 +97,7 @@ module Paludis
def test_package_ids
a = repo.package_ids "foo/bar"
assert_equal 2, a.length
- a.sort_by { | id | id.version }
+ a = a.sort_by { | id | id.version }
assert_equal VersionSpec.new("1.0"), a[0].version
assert_equal VersionSpec.new("2.0"), a[1].version