summaryrefslogtreecommitdiffhomepage
path: root/test/drawing/tc_pic.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-10 11:45:57 +0200
committerGeremia Taglialatela <[email protected]>2023-04-10 11:45:57 +0200
commit84a2b255d6fd780f526ac3d9bf99a40f08792986 (patch)
treecea31975973b14e6a7e2879bd43a561ad0bfa59d /test/drawing/tc_pic.rb
parent1406b47e64188765f220be86001ec1f543e0157d (diff)
downloadcaxlsx-84a2b255d6fd780f526ac3d9bf99a40f08792986.tar.gz
caxlsx-84a2b255d6fd780f526ac3d9bf99a40f08792986.zip
Fix Layout/LeadingCommentSpace offenses
``` rubocop --only Layout/LeadingCommentSpace -a ```
Diffstat (limited to 'test/drawing/tc_pic.rb')
-rw-r--r--test/drawing/tc_pic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/drawing/tc_pic.rb b/test/drawing/tc_pic.rb
index 6760fa58..56042de5 100644
--- a/test/drawing/tc_pic.rb
+++ b/test/drawing/tc_pic.rb
@@ -18,7 +18,7 @@ class TestPic < Test::Unit::TestCase
end
def test_anchor_swapping
- #swap from one cell to two cell when end_at is specified
+ # swap from one cell to two cell when end_at is specified
assert(@image.anchor.is_a?(Axlsx::OneCellAnchor))
start_at = @image.anchor.from
@image.end_at 10, 5
@@ -28,7 +28,7 @@ class TestPic < Test::Unit::TestCase
assert_equal(10, @image.anchor.to.col)
assert_equal(5, @image.anchor.to.row)
- #swap from two cell to one cell when width or height are specified
+ # swap from two cell to one cell when width or height are specified
@image.width = 200
assert(@image.anchor.is_a?(Axlsx::OneCellAnchor))
assert_equal(start_at.col, @image.anchor.from.col)