summaryrefslogtreecommitdiff
path: root/test/text_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-06-02 23:51:14 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-06-03 01:31:56 -0600
commit8c63fecd19d69df21a8eb103ef9cc949fa01b3cb (patch)
treec867ce5f3533dc54af3c9cad8e1cd18c22a8fc6b /test/text_test.rb
parent76d1e95aa2a79cd113a4bbc56a703004df08896e (diff)
use single level of indentation for method calls that wrap [skip ci]
Diffstat (limited to 'test/text_test.rb')
-rw-r--r--test/text_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/text_test.rb b/test/text_test.rb
index df26f8a1..f46623ba 100644
--- a/test/text_test.rb
+++ b/test/text_test.rb
@@ -49,7 +49,7 @@ context 'Text' do
test 'escaped text markup' do
assert_match(/All your &lt;em&gt;inline&lt;\/em&gt; markup belongs to &lt;strong&gt;us&lt;\/strong&gt;!/,
- convert_string('All your <em>inline</em> markup belongs to <strong>us</strong>!'))
+ convert_string('All your <em>inline</em> markup belongs to <strong>us</strong>!'))
end
test 'line breaks' do
@@ -68,9 +68,9 @@ context 'Text' do
test 'multiple double-quoted text on a single line' do
assert_equal '&#8220;Our business is constantly changing&#8221; or &#8220;We need faster time to market.&#8221;',
- convert_inline_string(%q(``Our business is constantly changing'' or ``We need faster time to market.''), attributes: { 'compat-mode' => '' })
+ convert_inline_string(%q(``Our business is constantly changing'' or ``We need faster time to market.''), attributes: { 'compat-mode' => '' })
assert_equal '&#8220;Our business is constantly changing&#8221; or &#8220;We need faster time to market.&#8221;',
- convert_inline_string('"`Our business is constantly changing`" or "`We need faster time to market.`"')
+ convert_inline_string('"`Our business is constantly changing`" or "`We need faster time to market.`"')
end
test 'horizontal rule' do