diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-03-25 01:58:52 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-03-25 01:58:52 -0600 |
| commit | 7bb365c94e1a3831ba7b3558d0500f3eae8a838a (patch) | |
| tree | 731cfc127f890d54c1d7328420eab5556e8475f5 /test/sections_test.rb | |
| parent | e94858e840b9ff9358a3227761bd1dee5a312143 (diff) | |
remove unused reftexts catalog entry assertions [skip ci]
Diffstat (limited to 'test/sections_test.rb')
| -rw-r--r-- | test/sections_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/sections_test.rb b/test/sections_test.rb index 0eb8d32e..c88c6df5 100644 --- a/test/sections_test.rb +++ b/test/sections_test.rb @@ -248,7 +248,6 @@ context 'Sections' do ref = doc.catalog[:refs]['install'] refute_nil ref assert_equal 'Install Procedure', ref.reftext - #assert_equal 'install', doc.catalog[:reftexts]['Install Procedure'] assert_equal 'install', (doc.resolve_id 'Install Procedure') end @@ -264,7 +263,6 @@ context 'Sections' do ref = doc.catalog[:refs]['_install'] refute_nil ref assert_equal 'Install Procedure', ref.reftext - #assert_equal '_install', doc.catalog[:reftexts]['Install Procedure'] assert_equal '_install', (doc.resolve_id 'Install Procedure') end @@ -282,7 +280,6 @@ context 'Sections' do ref = doc.catalog[:refs]['install'] refute_nil ref assert_equal 'install on Linux', ref.reftext - #assert_equal 'install', doc.catalog[:reftexts]['install on Linux'] assert_equal 'install', (doc.resolve_id 'install on Linux') end @@ -305,7 +302,6 @@ context 'Sections' do refute_nil ref assert_nil ref.reftext assert_equal 'First Install', ref.title - #assert_equal 'install', doc.catalog[:reftexts]['First Install'] assert_equal 'install', (doc.resolve_id 'First Install') assert_message logger, :WARN, '<stdin>: line 7: id assigned to section already in use: install', Hash end @@ -329,7 +325,6 @@ context 'Sections' do refute_nil ref assert_nil ref.reftext assert_equal 'Do Not Repeat Yourself', ref.title - #assert_equal '_do_not_repeat_yourself', doc.catalog[:reftexts]['Do Not Repeat Yourself'] assert_equal '_do_not_repeat_yourself', (doc.resolve_id 'Do Not Repeat Yourself') assert_message logger, :WARN, '<stdin>: line 6: id assigned to section already in use: _do_not_repeat_yourself', Hash assert_equal 2, (doc.convert.scan 'id="_do_not_repeat_yourself"').size @@ -353,7 +348,6 @@ context 'Sections' do refute_nil ref assert_nil ref.reftext assert_equal 'First Install', ref.title - #assert_equal 'install', doc.catalog[:reftexts]['First Install'] assert_equal 'install', (doc.resolve_id 'First Install') assert_message logger, :WARN, '<stdin>: line 7: id assigned to block already in use: install', Hash end @@ -1167,7 +1161,6 @@ context 'Sections' do ref = doc.catalog[:refs]['install'] refute_nil ref assert_equal 'Install Procedure', ref.reftext - #assert_equal 'install', doc.catalog[:reftexts]['Install Procedure'] assert_equal 'install', (doc.resolve_id 'Install Procedure') end @@ -1184,7 +1177,6 @@ context 'Sections' do ref = doc.catalog[:refs]['_install'] refute_nil ref assert_equal 'Install Procedure', ref.reftext - #assert_equal '_install', doc.catalog[:reftexts]['Install Procedure'] assert_equal '_install', (doc.resolve_id 'Install Procedure') end |
