diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2018-04-15 02:08:38 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2018-04-15 02:08:38 -0600 |
| commit | 41b3e781d585bcdc048bc3dcd2bc67b9b81ced5d (patch) | |
| tree | 223c39c62ce676679432513f16a773111ab4c4c7 /test/blocks_test.rb | |
| parent | c05be3c8975d065b80ca4c00f54232e4cb6145ee (diff) | |
rephrase warning message about using level 0 sections when the doctype is not book
Diffstat (limited to 'test/blocks_test.rb')
| -rw-r--r-- | test/blocks_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blocks_test.rb b/test/blocks_test.rb index 7a5aecac..30fd0f59 100644 --- a/test/blocks_test.rb +++ b/test/blocks_test.rb @@ -1638,7 +1638,7 @@ section paragraph assert_xpath '//*[@id="content"]/h1[text()="Section Title"]', output, 1 assert_xpath '//*[@class="paragraph"]', output, 1 assert_xpath '//*[@class="paragraph"]/*[@class="title"][text()="Block title"]', output, 1 - assert_message @logger, :ERROR, '<stdin>: line 2: only book doctypes can contain level 0 sections', Hash + assert_message @logger, :ERROR, '<stdin>: line 2: level 0 sections can only be used when doctype is book', Hash end test 'block title above document title gets carried over to first block in first section if no preamble' do |
