summaryrefslogtreecommitdiffstats
path: root/test/util/settings.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-02-26 11:43:39 +1100
committerJames Turnbull <james@lovedthanlost.net>2009-02-26 11:43:39 +1100
commit5f73eb553fd083b558fb9553b0c07b6019d0ccee (patch)
tree123ef2a9c7b8aa4e1cd52e6b98d0b3c53d626de6 /test/util/settings.rb
parente40aea3c655e698d26c29370227b52c489e6db2b (diff)
downloadpuppet-5f73eb553fd083b558fb9553b0c07b6019d0ccee.tar.gz
puppet-5f73eb553fd083b558fb9553b0c07b6019d0ccee.tar.xz
puppet-5f73eb553fd083b558fb9553b0c07b6019d0ccee.zip
Fixed #1849 - Ruby 1.9 portability: `when' doesn't like colons, replace with semicolons
Diffstat (limited to 'test/util/settings.rb')
-rwxr-xr-xtest/util/settings.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/settings.rb b/test/util/settings.rb
index f34cbbc46..2ff9e66ec 100755
--- a/test/util/settings.rb
+++ b/test/util/settings.rb
@@ -379,7 +379,7 @@ yay = /a/path
assert_equal(user.uid, File.stat(path).uid, "UIDS are not equal")
case Facter["operatingsystem"].value
- when /BSD/, "Darwin": # nothing
+ when /BSD/, "Darwin" # nothing
else
assert_equal(group.gid, File.stat(path).gid, "GIDS are not equal")
end
@@ -418,7 +418,7 @@ yay = /a/path
assert_equal(user.uid, File.stat(path).uid, "UIDS are not equal")
case Facter["operatingsystem"].value
- when /BSD/, "Darwin": # nothing
+ when /BSD/, "Darwin" # nothing
else
assert_equal(group.gid, File.stat(path).gid, "GIDS are not equal")
end