aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2006-11-13 16:57:13 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2006-11-13 16:57:13 +0000
commit30c80d334f363b0ac6767f06d7539666ccc77361 (patch)
treed2ad06fc3e0db37531b80694de7e02089bfbb466
parent50930835d8c0d6cf4c4955fa7d865d27904853fa (diff)
downloadpaludis-30c80d334f363b0ac6767f06d7539666ccc77361.tar.gz
paludis-30c80d334f363b0ac6767f06d7539666ccc77361.tar.xz
Fix case statements for ruby19
-rw-r--r--ruby/dep_atom_TEST.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/ruby/dep_atom_TEST.rb b/ruby/dep_atom_TEST.rb
index a0be678..edf125b 100644
--- a/ruby/dep_atom_TEST.rb
+++ b/ruby/dep_atom_TEST.rb
@@ -108,16 +108,16 @@ module Paludis
atom.each_with_index do | a, i |
case i
- when 0:
+ when 0
assert_kind_of AnyDepAtom, a
assert_equal 2, a.to_a.length
a.each_with_index do | b, j |
case j
- when 0:
+ when 0
assert_kind_of PackageDepAtom, b
assert_equal "foo/bar", b.to_s
- when 1:
+ when 1
assert_kind_of PackageDepAtom, b
assert_equal "foo/baz", b.to_s
@@ -126,7 +126,7 @@ module Paludis
end
end
- when 1:
+ when 1
assert_kind_of PackageDepAtom, a
assert_equal "foo/monkey", a.to_s