diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2017-09-01 23:30:13 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-01 23:30:13 -0600 |
| commit | 59617dab4401350efcd4e50403555fa34926ed46 (patch) | |
| tree | ddc5feaccb2217834180a326d28470ea19ac8ed6 /test/document_test.rb | |
| parent | 1a85aec79b3642c14f8aa21fe9d785466f540a3e (diff) | |
move callouts into document catalog (PR #2394)
- add callouts as key to document catalog
- add callouts method that resolves to this location
Diffstat (limited to 'test/document_test.rb')
| -rw-r--r-- | test/document_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/document_test.rb b/test/document_test.rb index 843b7b2f..3668620b 100644 --- a/test/document_test.rb +++ b/test/document_test.rb @@ -1064,7 +1064,7 @@ content{blank}footnote:[commentary] doc = document_from_string input refute_nil doc.catalog - assert_equal [:footnotes, :ids, :images, :includes, :indexterms, :links, :refs].to_set, doc.catalog.keys.to_set + assert_equal [:footnotes, :ids, :images, :includes, :indexterms, :links, :refs, :callouts].to_set, doc.catalog.keys.to_set assert_same doc.catalog, doc.references assert_same doc.catalog[:footnotes], doc.references[:footnotes] assert_same doc.catalog[:ids], doc.references[:ids] |
