summaryrefslogtreecommitdiff
path: root/test/sections_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2018-04-15 02:08:38 -0600
committerDan Allen <dan.j.allen@gmail.com>2018-04-15 02:08:38 -0600
commit41b3e781d585bcdc048bc3dcd2bc67b9b81ced5d (patch)
tree223c39c62ce676679432513f16a773111ab4c4c7 /test/sections_test.rb
parentc05be3c8975d065b80ca4c00f54232e4cb6145ee (diff)
rephrase warning message about using level 0 sections when the doctype is not book
Diffstat (limited to 'test/sections_test.rb')
-rw-r--r--test/sections_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sections_test.rb b/test/sections_test.rb
index 0329e182..39a988b7 100644
--- a/test/sections_test.rb
+++ b/test/sections_test.rb
@@ -868,7 +868,7 @@ text in standalone
using_memory_logger do |logger|
render_string input
- assert_message logger, :ERROR, '<stdin>: line 7: only book doctypes can contain level 0 sections', Hash
+ assert_message logger, :ERROR, '<stdin>: line 7: level 0 sections can only be used when doctype is book', Hash
end
end