diff options
| author | Ian Taylor <ian@lorf.org> | 2009-06-05 12:38:35 -0400 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-06-06 09:11:28 +1000 |
| commit | 41ce18cc8ea239d1633fc6cd9e9f599957a82e74 (patch) | |
| tree | 9d398b4e3e6d726a174b5b57094c7dd6749ccf0e /test/lib | |
| parent | f3b40923605420f774dac298fb1708de180c0a81 (diff) | |
| download | puppet-41ce18cc8ea239d1633fc6cd9e9f599957a82e74.tar.gz puppet-41ce18cc8ea239d1633fc6cd9e9f599957a82e74.tar.xz puppet-41ce18cc8ea239d1633fc6cd9e9f599957a82e74.zip | |
Changed tabs to spaces without interfering with indentation or alignment
Diffstat (limited to 'test/lib')
| -rwxr-xr-x | test/lib/puppettest.rb | 8 | ||||
| -rw-r--r-- | test/lib/puppettest/support/utils.rb | 8 | ||||
| -rw-r--r-- | test/lib/puppettest/testcase.rb | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/test/lib/puppettest.rb b/test/lib/puppettest.rb index 2f84a6c28..8c1eed910 100755 --- a/test/lib/puppettest.rb +++ b/test/lib/puppettest.rb @@ -53,10 +53,10 @@ module PuppetTest require 'getoptlong' result = GetoptLong.new( - [ "--debug", "-d", GetoptLong::NO_ARGUMENT ], - [ "--resolve", "-r", GetoptLong::REQUIRED_ARGUMENT ], - [ "-n", GetoptLong::REQUIRED_ARGUMENT ], - [ "--help", "-h", GetoptLong::NO_ARGUMENT ] + [ "--debug", "-d", GetoptLong::NO_ARGUMENT ], + [ "--resolve", "-r", GetoptLong::REQUIRED_ARGUMENT ], + [ "-n", GetoptLong::REQUIRED_ARGUMENT ], + [ "--help", "-h", GetoptLong::NO_ARGUMENT ] ) usage = "USAGE: TESTOPTS='[-n <method> -n <method> ...] [-d]' rake [target] [target] ..." diff --git a/test/lib/puppettest/support/utils.rb b/test/lib/puppettest/support/utils.rb index f23c6483b..7491095de 100644 --- a/test/lib/puppettest/support/utils.rb +++ b/test/lib/puppettest/support/utils.rb @@ -64,10 +64,10 @@ module PuppetTest::Support::Utils def set_mygroup # retrieve the user name group = %x{groups}.chomp.split(/ /)[0] - unless group - raise "Could not find group to set in @mygroup" - end - @mygroup = group + unless group + raise "Could not find group to set in @mygroup" + end + @mygroup = group end def run_events(type, trans, events, msg) diff --git a/test/lib/puppettest/testcase.rb b/test/lib/puppettest/testcase.rb index 15c835854..9af0292b4 100644 --- a/test/lib/puppettest/testcase.rb +++ b/test/lib/puppettest/testcase.rb @@ -7,7 +7,7 @@ require 'puppettest' require 'puppettest/runnable_test' class PuppetTest::TestCase < Test::Unit::TestCase - include PuppetTest + include PuppetTest extend PuppetTest::RunnableTest def self.suite |
