You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by bi...@apache.org on 2022/12/27 20:44:26 UTC

svn commit: r1906233 - /spamassassin/trunk/t/strip2.t

Author: billcole
Date: Tue Dec 27 20:44:25 2022
New Revision: 1906233

URL: http://svn.apache.org/viewvc?rev=1906233&view=rev
Log:
Fix for bug #8096

Modified:
    spamassassin/trunk/t/strip2.t

Modified: spamassassin/trunk/t/strip2.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/strip2.t?rev=1906233&r1=1906232&r2=1906233&view=diff
==============================================================================
--- spamassassin/trunk/t/strip2.t (original)
+++ spamassassin/trunk/t/strip2.t Tue Dec 27 20:44:25 2022
@@ -4,14 +4,15 @@ use lib '.'; use lib 't';
 use SATest; sa_t_init("strip2");
 
 use Test::More;
+use constant HAS_TEXTDIFF => eval { require Text::Diff; };
 plan skip_all => 'Long running tests disabled' unless conf_bool('run_long_tests');
+plan skip_all => 'Need Text::Diff' unless HAS_TEXTDIFF;
 plan tests => 98;
 
 # ---------------------------------------------------------------------------
 
 use File::Copy;
 use File::Compare qw(compare_text);
-use Text::Diff;
 
 my @files = qw(
 	data/nice/crlf-endings