summaryrefslogtreecommitdiff
path: root/test/api_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/api_test.rb')
-rw-r--r--test/api_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api_test.rb b/test/api_test.rb
index 72581e1b..c504897a 100644
--- a/test/api_test.rb
+++ b/test/api_test.rb
@@ -178,7 +178,7 @@ context 'API' do
test 'should accept attributes as array' do
# NOTE there's a tab character before idseparator
- doc = Asciidoctor.load('text', attributes: %w(toc sectnums source-highlighter=coderay idprefix idseparator=-))
+ doc = Asciidoctor.load('text', attributes: %w(toc sectnums source-highlighter=coderay idprefix idseparator=-)) # rubocop:disable Layout/SpaceInsideArrayPercentLiteral
assert_kind_of Hash, doc.attributes
assert doc.attr?('toc')
assert_equal '', doc.attr('toc')