diff options
author | Steve Kemp <steve@steve.org.uk> | 2016-04-22 21:54:51 +0300 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2016-04-22 21:54:51 +0300 |
commit | a5ad0029b634a19d4d50e9f49c51903c2fa82208 (patch) | |
tree | 869a46ea45f511952f38dee10f9db76aab8e8a68 /lib/custodian/testfactory.rb | |
parent | 85a9a63eb5d8690fd7945bba901b10ef8c3326c9 (diff) |
More rubocop fixups.
These are again mostly based around whitespace-changes.
Diffstat (limited to 'lib/custodian/testfactory.rb')
-rw-r--r-- | lib/custodian/testfactory.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/custodian/testfactory.rb b/lib/custodian/testfactory.rb index 770227f..db3f339 100644 --- a/lib/custodian/testfactory.rb +++ b/lib/custodian/testfactory.rb @@ -60,8 +60,8 @@ module Custodian def self.create(line) - raise ArgumentError, 'The type of test to create cannot be nil' if line.nil? - raise ArgumentError, 'The type of test to create must be a string' unless line.kind_of? String + raise ArgumentError, 'The type of test to create cannot be nil' if line.nil? + raise ArgumentError, 'The type of test to create must be a string' unless line.kind_of? String # # The array of tests we return. @@ -127,7 +127,7 @@ module Custodian # Register a new test type - this must be called by our derived classes # def self.register_test_type(name) - @@subclasses[name] ||= [] + @@subclasses[name] ||= [] @@subclasses[name].push(self) end |