texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/t/plaintext_tests.t (non_break_spaces): Skip


From: Gavin D. Smith
Subject: branch master updated: * tp/t/plaintext_tests.t (non_break_spaces): Skip test on older Perl.
Date: Sun, 08 May 2022 06:38:21 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 89eb302163 * tp/t/plaintext_tests.t (non_break_spaces): Skip test on 
older Perl.
89eb302163 is described below

commit 89eb302163a69a6f29ccd426c66ed938a24d7a23
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun May 8 11:38:03 2022 +0100

    * tp/t/plaintext_tests.t (non_break_spaces):
    Skip test on older Perl.
---
 ChangeLog              | 5 +++++
 tp/t/plaintext_tests.t | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index b55bd48fdb..85570b3e7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-05-08  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * tp/t/plaintext_tests.t (non_break_spaces):
+       Skip test on older Perl.
+
 2022-05-07  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Reinstate empty contents
diff --git a/tp/t/plaintext_tests.t b/tp/t/plaintext_tests.t
index 467e5b1f25..b5e4724d79 100644
--- a/tp/t/plaintext_tests.t
+++ b/tp/t/plaintext_tests.t
@@ -967,7 +967,9 @@ undef, {'test_file' => 'japanese_utf8.texi'}
 undef, {'test_file' => 'chinese_mixed_with_en.texi'}
 ],
 ['non_break_spaces',
-undef, {'test_file' => 'non_break_spaces.texi'}
+undef,
+{'test_file' => 'non_break_spaces.texi',
+ 'skip' => ($] < 5.014) ? 'Perl too old: /a regex flag needed' : undef, },
 ],
 ['all_spaces',
 undef, {'test_file' => 'all_spaces.texi', 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]