summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-05 17:26:03 +0200
committerGeremia Taglialatela <[email protected]>2023-04-06 09:54:52 +0200
commitf46c7cf4c1cd961557dc5d0abf774e4c78aafb7c (patch)
tree37b3397ad493d9e6bb66a3af4623d7916fca62c7 /test
parent7e90a46d43fefcf5ff7c76c14b29b6998245cfc5 (diff)
downloadcaxlsx-f46c7cf4c1cd961557dc5d0abf774e4c78aafb7c.tar.gz
caxlsx-f46c7cf4c1cd961557dc5d0abf774e4c78aafb7c.zip
Fix Layout/TrailingEmptyLines offenses
``` rubocop --only Layout/TrailingEmptyLines -a ```
Diffstat (limited to 'test')
-rw-r--r--test/drawing/tc_axes.rb2
-rw-r--r--test/workbook/worksheet/auto_filter/tc_filters.rb1
-rw-r--r--test/workbook/worksheet/tc_comment.rb1
-rw-r--r--test/workbook/worksheet/tc_comments.rb2
-rw-r--r--test/workbook/worksheet/tc_header_footer.rb1
-rw-r--r--test/workbook/worksheet/tc_sheet_protection.rb54
-rw-r--r--test/workbook/worksheet/tc_worksheet_hyperlink.rb2
7 files changed, 1 insertions, 62 deletions
diff --git a/test/drawing/tc_axes.rb b/test/drawing/tc_axes.rb
index e3c26936..eabf9a8d 100644
--- a/test/drawing/tc_axes.rb
+++ b/test/drawing/tc_axes.rb
@@ -5,4 +5,4 @@ class TestAxes < Test::Unit::TestCase
assert_raise(ArgumentError) { Axlsx::Axes.new(:val_axis => Axlsx::ValAxis, :cat_axis => Axlsx::CatAxis) }
assert_nothing_raised { Axlsx::Axes.new(:cat_axis => Axlsx::CatAxis, :val_axis => Axlsx::ValAxis) }
end
-end \ No newline at end of file
+end
diff --git a/test/workbook/worksheet/auto_filter/tc_filters.rb b/test/workbook/worksheet/auto_filter/tc_filters.rb
index dc0e985c..5de5d7d1 100644
--- a/test/workbook/worksheet/auto_filter/tc_filters.rb
+++ b/test/workbook/worksheet/auto_filter/tc_filters.rb
@@ -47,4 +47,3 @@ class TestFilters < Test::Unit::TestCase
assert_equal(1, doc.xpath('//filters[@blank=1]').size)
end
end
-
diff --git a/test/workbook/worksheet/tc_comment.rb b/test/workbook/worksheet/tc_comment.rb
index e66abb9a..b736e5c5 100644
--- a/test/workbook/worksheet/tc_comment.rb
+++ b/test/workbook/worksheet/tc_comment.rb
@@ -69,4 +69,3 @@ class TestComment < Test::Unit::TestCase
assert_equal("some text", doc.xpath("//comment/text").text)
end
end
-
diff --git a/test/workbook/worksheet/tc_comments.rb b/test/workbook/worksheet/tc_comments.rb
index 91fb49a2..68b3ac71 100644
--- a/test/workbook/worksheet/tc_comments.rb
+++ b/test/workbook/worksheet/tc_comments.rb
@@ -53,5 +53,3 @@ class TestComments < Test::Unit::TestCase
# assert_equal(doc.xpath("//comment").size, @ws.comments.size)
end
end
-
-
diff --git a/test/workbook/worksheet/tc_header_footer.rb b/test/workbook/worksheet/tc_header_footer.rb
index caf1b9df..bba879a1 100644
--- a/test/workbook/worksheet/tc_header_footer.rb
+++ b/test/workbook/worksheet/tc_header_footer.rb
@@ -148,4 +148,3 @@ class TestHeaderFooter < Test::Unit::TestCase
assert_equal(0, doc.xpath(".//headerFooter/firstFooter").size)
end
end
-
diff --git a/test/workbook/worksheet/tc_sheet_protection.rb b/test/workbook/worksheet/tc_sheet_protection.rb
index 6ca5dafd..cf3b8957 100644
--- a/test/workbook/worksheet/tc_sheet_protection.rb
+++ b/test/workbook/worksheet/tc_sheet_protection.rb
@@ -61,57 +61,3 @@ class TestSheetProtection < Test::Unit::TestCase
end
end
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/test/workbook/worksheet/tc_worksheet_hyperlink.rb b/test/workbook/worksheet/tc_worksheet_hyperlink.rb
index 2245996a..b456694d 100644
--- a/test/workbook/worksheet/tc_worksheet_hyperlink.rb
+++ b/test/workbook/worksheet/tc_worksheet_hyperlink.rb
@@ -52,5 +52,3 @@ class TestWorksheetHyperlink < Test::Unit::TestCase
assert_equal(doc.xpath("//xmlns:hyperlink[@r:id='#{@a.relationship.Id}']").size, 1)
end
end
-
-