summaryrefslogtreecommitdiffhomepage
path: root/test/drawing/tc_data_source.rb
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-04-12 16:55:10 +0200
committerGitHub <[email protected]>2023-04-12 16:55:10 +0200
commit4643fbded250a02191f0e652618ee23fcf26c8b6 (patch)
tree1b4fa5d8c85ed10c866b22e0cc7c480ffe7921de /test/drawing/tc_data_source.rb
parentbad5cac91b653848bffb4fb45326664f9d806ed2 (diff)
parentc4bd23bdb6b20763027370f7db13cef1ed7d6e75 (diff)
downloadcaxlsx-4643fbded250a02191f0e652618ee23fcf26c8b6.tar.gz
caxlsx-4643fbded250a02191f0e652618ee23fcf26c8b6.zip
Merge pull request #191 from tagliala/chore/add-rubocop
Add RuboCop (and fix simple whitespace, magic comment, trailing comma offenses)
Diffstat (limited to 'test/drawing/tc_data_source.rb')
-rw-r--r--test/drawing/tc_data_source.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/drawing/tc_data_source.rb b/test/drawing/tc_data_source.rb
index e9bed095..b635d56e 100644
--- a/test/drawing/tc_data_source.rb
+++ b/test/drawing/tc_data_source.rb
@@ -1,7 +1,6 @@
- require 'tc_helper.rb'
-
- class TestNumDataSource < Test::Unit::TestCase
+require 'tc_helper.rb'
+class TestNumDataSource < Test::Unit::TestCase
def setup
@data_source = Axlsx::NumDataSource.new :data => ["1", "2", "3"]
end
@@ -19,5 +18,4 @@
doc = Nokogiri::XML(str)
assert_equal(doc.xpath("//c:val").size, 1)
end
-
- end
+end