aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-10-18 21:23:18 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-10-18 21:23:27 +0100
commit9e50013b9b8fac27a1cc4bbef78077d111164a59 (patch)
tree08fd3ff0af9add845d91839ff6128f1247a2c964
parent354116d42c45d42146fc20ace9de4210d9f8f064 (diff)
downloadpaludis-9e50013b9b8fac27a1cc4bbef78077d111164a59.tar.gz
paludis-9e50013b9b8fac27a1cc4bbef78077d111164a59.tar.xz
Betterer error message
-rw-r--r--ruby/package_id_TEST.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/package_id_TEST.rb b/ruby/package_id_TEST.rb
index 641f7fa..9deaef3 100644
--- a/ruby/package_id_TEST.rb
+++ b/ruby/package_id_TEST.rb
@@ -160,7 +160,7 @@ module Paludis
"profile_mask" => 1, "DEPEND" => 1, "RDEPEND" => 1, "PDEPEND" => 1, "LICENSE" => 1, "PROVIDE" => 1,
"RESTRICT" => 1, "SRC_URI" => 1, "HOMEPAGE" => 1, "EBUILD" => 1, "PROPERTIES" => 1 }
pid_testrepo.each_metadata do | key |
- assert keys.has_key?(key.raw_name)
+ assert keys.has_key?(key.raw_name), "no #{key.raw_name}"
keys.delete key.raw_name
end
assert keys.empty?