diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-05 17:37:28 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-06 09:55:31 +0200 |
| commit | a802d1d179f5ab56b419e1b47e62885d72b5384d (patch) | |
| tree | 70e8cc79f12a4e17efb6dc0126cc0ed204669142 /test/stylesheet | |
| parent | b5d7a7a1917adb12e3ea04abe261a37f8aff7f56 (diff) | |
| download | caxlsx-a802d1d179f5ab56b419e1b47e62885d72b5384d.tar.gz caxlsx-a802d1d179f5ab56b419e1b47e62885d72b5384d.zip | |
Fix Layout/EmptyLineBetweenDefs offenses
```
rubocop --only Layout/EmptyLineBetweenDefs -a
```
Diffstat (limited to 'test/stylesheet')
| -rw-r--r-- | test/stylesheet/tc_border.rb | 2 | ||||
| -rw-r--r-- | test/stylesheet/tc_border_pr.rb | 2 | ||||
| -rw-r--r-- | test/stylesheet/tc_font.rb | 1 | ||||
| -rw-r--r-- | test/stylesheet/tc_styles.rb | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/test/stylesheet/tc_border.rb b/test/stylesheet/tc_border.rb index ae191dd0..c2fb0d98 100644 --- a/test/stylesheet/tc_border.rb +++ b/test/stylesheet/tc_border.rb @@ -4,8 +4,10 @@ class TestBorder < Test::Unit::TestCase def setup @b = Axlsx::Border.new end + def teardown end + def test_initialiation assert_equal(@b.diagonalUp, nil) assert_equal(@b.diagonalDown, nil) diff --git a/test/stylesheet/tc_border_pr.rb b/test/stylesheet/tc_border_pr.rb index dc0fa9da..1e1c1dcc 100644 --- a/test/stylesheet/tc_border_pr.rb +++ b/test/stylesheet/tc_border_pr.rb @@ -4,8 +4,10 @@ class TestBorderPr < Test::Unit::TestCase def setup @bpr = Axlsx::BorderPr.new end + def teardown end + def test_initialiation assert_equal(@bpr.color, nil) assert_equal(@bpr.style, nil) diff --git a/test/stylesheet/tc_font.rb b/test/stylesheet/tc_font.rb index 58f84b08..106cfce5 100644 --- a/test/stylesheet/tc_font.rb +++ b/test/stylesheet/tc_font.rb @@ -31,6 +31,7 @@ class TestFont < Test::Unit::TestCase assert_nothing_raised { @item.name = "bob" } assert_equal(@item.name, "bob") end + # def charset=(v) Axlsx::validate_unsigned_int v; @charset = v end def test_charset assert_raise(ArgumentError) { @item.charset = -7 } diff --git a/test/stylesheet/tc_styles.rb b/test/stylesheet/tc_styles.rb index 9c7d56c9..37dc4fb4 100644 --- a/test/stylesheet/tc_styles.rb +++ b/test/stylesheet/tc_styles.rb @@ -4,6 +4,7 @@ class TestStyles < Test::Unit::TestCase def setup @styles = Axlsx::Styles.new end + def teardown end |
