From 3567b844ca1fd7bec62801f8758545f7bd5cbaae Mon Sep 17 00:00:00 2001 From: Kārlis Gaņģis Date: Wed, 10 Sep 2014 00:11:35 +0300 Subject: Moved removal of `\r` into `tidy()` --- runtests.pl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'runtests.pl') diff --git a/runtests.pl b/runtests.pl index d847140..f3e91ca 100644 --- a/runtests.pl +++ b/runtests.pl @@ -38,7 +38,9 @@ sub tidy } elsif (/<\/pre/) { $inpre = 0; } - if ($inpre) { + # remove \r to allow mixing linux/windows newlines + s/\r//; + if ($inpre) { print $outfh $_; } else { # remove leading spaces @@ -79,11 +81,7 @@ sub dotest $html = &tidy($html); $actual = &tidy($actual); $actual =~ s/\'/'/; - - # remove \r to allow mixing of linux/windows newlines - $actual =~ s/\r//g; - $html =~ s/\r//g; - + if ($actual eq $html) { print colored("✓", "green"); return 1; -- cgit v1.2.3 t type='submit' value='switch'/> Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/a6/fc
diff options
context:
space:
mode:
Diffstat (limited to 'tags/a6/fc')
-rw-r--r--tags/a6/fc/20080804140520.AC22211B8BD@xayide.jones.dk/jones0
-rw-r--r--tags/a6/fc/20080804140520.AC22211B8BD@xayide.jones.dk/sys0
-rw-r--r--tags/a6/fc/20140317230308.GA3691@ruderich.org/debian0
-rw-r--r--tags/a6/fc/20140317230308.GA3691@ruderich.org/inbox0
-rw-r--r--tags/a6/fc/20140317230308.GA3691@ruderich.org/old0
-rw-r--r--tags/a6/fc/20140317230308.GA3691@ruderich.org/signed0
-rw-r--r--tags/a6/fc/20150406065532.GD29396@an3as.eu/debian0
-rw-r--r--tags/a6/fc/20160131045305.8286F4B00@xayide.jones.dk/inbox0
-rw-r--r--tags/a6/fc/20160131045305.8286F4B00@xayide.jones.dk/old0
-rw-r--r--tags/a6/fc/20170710020002.73A1571C6@lxp5.free-owl.de/sys0
-rw-r--r--tags/a6/fc/20170710020002.73A1571C6@lxp5.free-owl.de/unread0
-rw-r--r--tags/a6/fc/8dffc93f-c13b-36c1-4303-32f625c6e4cf@puri.sm/signed0
-rw-r--r--tags/a6/fc/8dffc93f-c13b-36c1-4303-32f625c6e4cf@puri.sm/unread0
-rw-r--r--tags/a6/fc/CANuikkoR6rPG9FRc3s_pieygKnYj=JQOXO_BK31tgOSjuifkdA@mail.gmail.com/debian0
-rw-r--r--tags/a6/fc/E1l4mdB-000CPd-Hs@fasolo.debian.org/debian0
-rw-r--r--tags/a6/fc/E1l4mdB-000CPd-Hs@fasolo.debian.org/inbox0
-rw-r--r--tags/a6/fc/E1l4mdB-000CPd-Hs@fasolo.debian.org/killed0
-rw-r--r--tags/a6/fc/E1l4mdB-000CPd-Hs@fasolo.debian.org/sugar0
-rw-r--r--tags/a6/fc/E1l4mdB-000CPd-Hs@fasolo.debian.org/unread0
19 files changed, 0 insertions, 0 deletions