summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/document_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/document_test.rb b/test/document_test.rb
index 39317b29..ee9cccaa 100644
--- a/test/document_test.rb
+++ b/test/document_test.rb
@@ -1743,7 +1743,7 @@ content{blank}footnote:[commentary]
doc = document_from_string input
refute_nil doc.catalog
- assert_equal %w(footnotes ids images includes indexterms links), doc.catalog.keys.map(&:to_s).sort
+ assert_equal [:footnotes, :ids, :images, :includes, :indexterms, :links].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]