diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-10 11:45:57 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-10 11:45:57 +0200 |
| commit | 84a2b255d6fd780f526ac3d9bf99a40f08792986 (patch) | |
| tree | cea31975973b14e6a7e2879bd43a561ad0bfa59d /test/content_type | |
| parent | 1406b47e64188765f220be86001ec1f543e0157d (diff) | |
| download | caxlsx-84a2b255d6fd780f526ac3d9bf99a40f08792986.tar.gz caxlsx-84a2b255d6fd780f526ac3d9bf99a40f08792986.zip | |
Fix Layout/LeadingCommentSpace offenses
```
rubocop --only Layout/LeadingCommentSpace -a
```
Diffstat (limited to 'test/content_type')
| -rw-r--r-- | test/content_type/tc_content_type.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/content_type/tc_content_type.rb b/test/content_type/tc_content_type.rb index f06554c8..c79352ff 100644 --- a/test/content_type/tc_content_type.rb +++ b/test/content_type/tc_content_type.rb @@ -15,7 +15,7 @@ class TestContentType < Test::Unit::TestCase o_path = "//xmlns:Override[@ContentType='%s']" d_path = "//xmlns:Default[@ContentType='%s']" - #default + # default assert_equal(@doc.xpath("//xmlns:Default").size, 2, "There should be 2 default types") node = @doc.xpath(d_path % Axlsx::XML_CT).first @@ -24,7 +24,7 @@ class TestContentType < Test::Unit::TestCase node = @doc.xpath(d_path % Axlsx::RELS_CT).first assert_equal(node["Extension"], "#{Axlsx::RELS_EX}", "relationships content type invalid") - #overrride + # overrride assert_equal(@doc.xpath("//xmlns:Override").size, 4, "There should be 4 Override types") node = @doc.xpath(o_path % Axlsx::APP_CT).first |
