summaryrefslogtreecommitdiffstats
path: root/test/util/inifile.rb
diff options
context:
space:
mode:
authorIan Taylor <ian@lorf.org>2009-06-05 12:39:04 -0400
committerJames Turnbull <james@lovedthanlost.net>2009-06-06 09:12:00 +1000
commit4f2c066a97e59a89df64af4b25beac6f3f0553c2 (patch)
tree126540beec3c65448e01e1b48d27275ec4ee6ea4 /test/util/inifile.rb
parent97e6975d69f239e24993315a25a3117b1daa48c3 (diff)
downloadpuppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.gz
puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.xz
puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.zip
Removed extra whitespace from end of lines
Diffstat (limited to 'test/util/inifile.rb')
-rwxr-xr-xtest/util/inifile.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/util/inifile.rb b/test/util/inifile.rb
index 50075fa92..8ce52ee8d 100755
--- a/test/util/inifile.rb
+++ b/test/util/inifile.rb
@@ -13,7 +13,7 @@ class TestFileType < Test::Unit::TestCase
super
@file = Puppet::Util::IniConfig::File.new
end
-
+
def teardown
@file = nil
super
@@ -43,7 +43,7 @@ class TestFileType < Test::Unit::TestCase
@file.read(fsub)
}
main = get_section('main')
- assert_entries(main,
+ assert_entries(main,
{ 'key1' => 'main.value1', 'key2' => 'main.value2' })
sub1 = get_section('sub1')
assert_entries(sub1, { 'key1' => 'sub1 value1' })
@@ -106,9 +106,9 @@ class TestFileType < Test::Unit::TestCase
end
def assert_entries(section, hash)
- hash.each do |k, v|
- assert_equal(v, section[k],
- "Expected <#{v}> for #{section.name}[#{k}] " +
+ hash.each do |k, v|
+ assert_equal(v, section[k],
+ "Expected <#{v}> for #{section.name}[#{k}] " +
"but got <#{section[k]}>")
end
end