summaryrefslogtreecommitdiffstats
path: root/test/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'test/puppet')
-rwxr-xr-xtest/puppet/defaults.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/puppet/defaults.rb b/test/puppet/defaults.rb
index 1620dfd82..2338e03ee 100755
--- a/test/puppet/defaults.rb
+++ b/test/puppet/defaults.rb
@@ -48,9 +48,7 @@ class TestPuppetDefaults < Test::Unit::TestCase
[@@dirs,@@files].flatten.each { |param|
value = Puppet[param]
- unless value !~ notval
- assert_nothing_raised { raise "#{param} is incorrectly set to #{value}" }
- end
+ assert_nothing_raised { raise "#{param} is incorrectly set to #{value}" } unless value !~ notval
}
end