summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-03-19 23:48:36 -0600
committerDan Allen <dan.j.allen@gmail.com>2019-03-19 23:48:36 -0600
commit580f0b3487d658d95c2404abb5a24dc37cb8948b (patch)
tree97fb977f1212d2083dab32cd687b30e6bdf96849
parent5da481e7080ea9c68c3997c1b3d24a789fd0239f (diff)
fix warnings in test suite [skip ci]
-rw-r--r--test/substitutions_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/substitutions_test.rb b/test/substitutions_test.rb
index ea24fbe5..6814a16c 100644
--- a/test/substitutions_test.rb
+++ b/test/substitutions_test.rb
@@ -1248,7 +1248,7 @@ context 'Substitutions' do
test 'visible shorthand index term macro should not consume trailing round bracket' do
input = '(text with ((index term)))'
expected = '(text with <indexterm><primary>index term</primary></indexterm>index term)'
- expected_term = ['index term']
+ #expected_term = ['index term']
para = block_from_string input, backend: :docbook
output = para.sub_macros para.source
assert_equal expected, output
@@ -1260,7 +1260,7 @@ context 'Substitutions' do
test 'visible shorthand index term macro should not consume leading round bracket' do
input = '(((index term)) for text)'
expected = '(<indexterm><primary>index term</primary></indexterm>index term for text)'
- expected_term = ['index term']
+ #expected_term = ['index term']
para = block_from_string input, backend: :docbook
output = para.sub_macros para.source
assert_equal expected, output