[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: tp/t/paragraph.t: set_space_protection() returns
From: |
Patrice Dumas |
Subject: |
branch master updated: tp/t/paragraph.t: set_space_protection() returns nothing. |
Date: |
Fri, 27 Aug 2021 11:31:44 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new d9ec413 tp/t/paragraph.t: set_space_protection() returns nothing.
d9ec413 is described below
commit d9ec413c25fbf7725fc1db472facfe9bfd99c7ba
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Aug 27 17:31:05 2021 +0200
tp/t/paragraph.t: set_space_protection() returns nothing.
---
tp/t/paragraph.t | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tp/t/paragraph.t b/tp/t/paragraph.t
index 3c10e53..0a739be 100644
--- a/tp/t/paragraph.t
+++ b/tp/t/paragraph.t
@@ -220,9 +220,9 @@ is ($result, "b. follow\n", 'punctuation before end space
protection 2 space');
$para = Texinfo::Convert::Paragraph->new();
$result = '';
-$result .= set_space_protection($para, undef,undef,undef,1);
+set_space_protection($para, undef,undef,undef,1);
$result .= add_text($para, "b. ");
-$result .= set_space_protection($para, undef,undef,undef,0);
+set_space_protection($para, undef,undef,undef,0);
$result .= add_text($para, " follow");
$result .= Texinfo::Convert::Paragraph::end($para);
is ($result, "b. follow\n", 'punctuation space before end space protection');
@@ -231,7 +231,7 @@ is ($result, "b. follow\n", 'punctuation space before end
space protection');
$para = Texinfo::Convert::Paragraph->new();
$result = '';
$result .= add_text($para, "In w:\n");
-$result .= set_space_protection($para, 1,1);
+set_space_protection($para, 1,1);
$result .= add_text($para, "Out of code -- out-of-code.
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg");
$result .= Texinfo::Convert::Paragraph::end($para);
is ($result, "In w: Out of code -- out-of-code.
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg\n", 'space
protection after end sentence');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: tp/t/paragraph.t: set_space_protection() returns nothing.,
Patrice Dumas <=