summaryrefslogtreecommitdiff
path: root/test/sections_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-04-14 23:58:55 -0600
committerGitHub <noreply@github.com>2021-04-14 23:58:55 -0600
commit01aa1b564c202695d40d3d910aa6bd5dd0eeac5f (patch)
treed9c5d4293719223389f3d1a944358452574eb3a7 /test/sections_test.rb
parent53b553cd3dde8ca2279fa19e3f3872b060545698 (diff)
resolves #4013 increment counter (but not the corresponding attribute) if attribute is locked (PR #4015)
Diffstat (limited to 'test/sections_test.rb')
-rw-r--r--test/sections_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sections_test.rb b/test/sections_test.rb
index 6172817e..08ae37fa 100644
--- a/test/sections_test.rb
+++ b/test/sections_test.rb
@@ -1624,7 +1624,7 @@ context 'Sections' do
:doctype: book
:sectnums:
:chapter-signifier: Chapter
- :chapter-number: {counter:chapter-number:9}
+ :chapter-number: 9
== Not the Beginning
@@ -2048,7 +2048,7 @@ context 'Sections' do
test 'should allow appendix number to be controlled using appendix-number attribute' do
input = <<~'EOS'
- :appendix-number: {counter:appendix-number:α}
+ :appendix-number: α
[appendix]
== Attribute Options