summaryrefslogtreecommitdiff
path: root/test/extensions_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-06-06 02:04:36 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-06-06 02:04:36 -0600
commitf580230151bdb8392dcc55d6e1d46bb57d858cf7 (patch)
tree6332fac273a09edf9ad524041fc7dc8cbc21424b /test/extensions_test.rb
parent226f19a7e7d945c01643b15ecef88cb603b96317 (diff)
enforce no braces around Hash in last position of array and update code to comply
Diffstat (limited to 'test/extensions_test.rb')
-rw-r--r--test/extensions_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/extensions_test.rb b/test/extensions_test.rb
index f16a4614..319854be 100644
--- a/test/extensions_test.rb
+++ b/test/extensions_test.rb
@@ -1672,11 +1672,11 @@ context 'Extensions' do
{
'' => ['chapter', 1, false, true, '_section_title'],
'level=0' => ['part', 0, false, false, '_section_title'],
- 'level=0,alt' => ['part', 0, false, true, '_section_title', { 'partnums' => '' }],
+ 'level=0,alt' => ['part', 0, false, true, '_section_title', 'partnums' => ''],
'level=0,style=appendix' => ['appendix', 1, true, true, '_section_title'],
'style=appendix' => ['appendix', 1, true, true, '_section_title'],
'style=glossary' => ['glossary', 1, true, false, '_section_title'],
- 'style=glossary,alt' => ['glossary', 1, true, :chapter, '_section_title', { 'sectnums' => 'all' }],
+ 'style=glossary,alt' => ['glossary', 1, true, :chapter, '_section_title', 'sectnums' => 'all'],
'style=abstract' => ['chapter', 1, false, true, '_section_title'],
'id=section-title' => ['chapter', 1, false, true, 'section-title'],
'id=false' => ['chapter', 1, false, true, nil],