diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-05 17:17:07 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-06 09:54:44 +0200 |
| commit | 7e90a46d43fefcf5ff7c76c14b29b6998245cfc5 (patch) | |
| tree | 0562b39547ee41e86504bf661390ce0d571ff066 /test/tc_axlsx.rb | |
| parent | e9496a58dbf17d4b9bb615f3cb630f1e32574ece (diff) | |
| download | caxlsx-7e90a46d43fefcf5ff7c76c14b29b6998245cfc5.tar.gz caxlsx-7e90a46d43fefcf5ff7c76c14b29b6998245cfc5.zip | |
Remove Layout/TrailingWhitespace offenses
```
rubocop --only Layout/TrailingWhitespace -a
```
Diffstat (limited to 'test/tc_axlsx.rb')
| -rw-r--r-- | test/tc_axlsx.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_axlsx.rb b/test/tc_axlsx.rb index 3903fc42..35fd5ea5 100644 --- a/test/tc_axlsx.rb +++ b/test/tc_axlsx.rb @@ -106,7 +106,7 @@ class TestAxlsx < Test::Unit::TestCase assert_equal(sanitized_str, legit_str, 'should preserve value') assert_equal(sanitized_str.object_id, legit_str.object_id, 'should preserve object') end - + class InstanceValuesSubject def initialize(args={}) args.each do |key, v| @@ -130,7 +130,7 @@ class TestAxlsx < Test::Unit::TestCase assert_equal({"obj" => inner_obj}, Axlsx.instance_values_for(complex), 'should pass value of ivar directly') nil_subject = InstanceValuesSubject.new(nil_obj: nil) - assert_equal({"nil_obj" => nil}, Axlsx.instance_values_for(nil_subject), 'should return nil ivars') + assert_equal({"nil_obj" => nil}, Axlsx.instance_values_for(nil_subject), 'should return nil ivars') end def test_hash_deep_merge |
