diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-07 19:03:48 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-07 19:03:48 +0200 |
| commit | 3460a7fbb808d43a2a027fb98ef40209498a86fd (patch) | |
| tree | 59c918289c5ea1ad02a2ebf42418f86026fd3d0f /test/workbook | |
| parent | a058946a0d78771157b07f1803527a2263c44dd7 (diff) | |
| download | caxlsx-3460a7fbb808d43a2a027fb98ef40209498a86fd.tar.gz caxlsx-3460a7fbb808d43a2a027fb98ef40209498a86fd.zip | |
Fix Layout/BlockAlignment offenses
Manually fixed
Diffstat (limited to 'test/workbook')
| -rw-r--r-- | test/workbook/tc_defined_name.rb | 3 | ||||
| -rw-r--r-- | test/workbook/worksheet/tc_header_footer.rb | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/workbook/tc_defined_name.rb b/test/workbook/tc_defined_name.rb index 2d3ff0d9..aa4f84e1 100644 --- a/test/workbook/tc_defined_name.rb +++ b/test/workbook/tc_defined_name.rb @@ -17,11 +17,10 @@ class TestDefinedNames < Test::Unit::TestCase end def test_boolean_attributes - %w(workbook_parameter publish_to_server xlm vb_proceedure function hidden).each do |attr| + %w(workbook_parameter publish_to_server xlm vb_proceedure function hidden).each do |attr| assert_raise(ArgumentError, 'only booleanish allowed in string attributes') { @dn.send("#{attr}=", 'foo') } assert_nothing_raised { @dn.send("#{attr}=", 1) } end - end def test_local_sheet_id diff --git a/test/workbook/worksheet/tc_header_footer.rb b/test/workbook/worksheet/tc_header_footer.rb index bba879a1..fb95d7bf 100644 --- a/test/workbook/worksheet/tc_header_footer.rb +++ b/test/workbook/worksheet/tc_header_footer.rb @@ -59,7 +59,7 @@ class TestHeaderFooter < Test::Unit::TestCase end def test_boolean_attributes - %w(different_first different_odd_even).each do |attr| + %w(different_first different_odd_even).each do |attr| assert_raise(ArgumentError, 'only booleanish allowed in string attributes') { @hf.send("#{attr}=", 'foo') } assert_nothing_raised { @hf.send("#{attr}=", 1) } end |
