test/test_index.rb in review-2.1.0 vs test/test_index.rb in review-2.2.0

- old
+ new

@@ -11,16 +11,18 @@ items = fn.to_a item = items[0] assert_equal 'foo', item.id assert_equal 'bar', item.content end + def test_footnote_index_with_escape fn = Book::FootnoteIndex.parse(['//footnote[foo][bar[\]buz]']) items = fn.to_a item = items[0] assert_equal 'foo', item.id assert_equal 'bar[]buz', item.content end + def test_footnote_index_with_escape2 fn = Book::FootnoteIndex.parse(['//footnote[foo][bar\\a\\$buz]']) items = fn.to_a item = items[0] assert_equal 'foo', item.id