diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-08 15:13:40 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-08 15:14:14 +0900 |
commit | 7c69351277edaa47ee395c72d59623162eb8682f (patch) | |
tree | f6360b5da6150c578bcbf674698b7175be8ff85c /activesupport/test/core_ext/object | |
parent | 7a0fe78d08c93574430be3304e83555602f1d875 (diff) | |
parent | 0699a3df9a137a97d50af4a29f96553bf2942d0e (diff) | |
download | rails-7c69351277edaa47ee395c72d59623162eb8682f.tar.gz rails-7c69351277edaa47ee395c72d59623162eb8682f.tar.bz2 rails-7c69351277edaa47ee395c72d59623162eb8682f.zip |
Merge pull request #31648 from dixitp012/rubocop_active_support_test
Fix rubocop space before comma
Diffstat (limited to 'activesupport/test/core_ext/object')
-rw-r--r-- | activesupport/test/core_ext/object/blank_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/object/blank_test.rb b/activesupport/test/core_ext/object/blank_test.rb index 35a3e5922e..954f415383 100644 --- a/activesupport/test/core_ext/object/blank_test.rb +++ b/activesupport/test/core_ext/object/blank_test.rb @@ -16,8 +16,8 @@ class BlankTest < ActiveSupport::TestCase end end - BLANK = [ EmptyTrue.new, nil, false, "", " ", " \n\t \r ", " ", "\u00a0", [], {}, " ".encode("UTF-16LE")] - NOT = [ EmptyFalse.new, Object.new, true, 0, 1, "a", [nil], { nil => 0 }, Time.now , "my value".encode("UTF-16LE")] + BLANK = [ EmptyTrue.new, nil, false, "", " ", " \n\t \r ", " ", "\u00a0", [], {}, " ".encode("UTF-16LE") ] + NOT = [ EmptyFalse.new, Object.new, true, 0, 1, "a", [nil], { nil => 0 }, Time.now, "my value".encode("UTF-16LE") ] def test_blank BLANK.each { |v| assert_equal true, v.blank?, "#{v.inspect} should be blank" } |