[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test results differents between the perl and XS parsers
From: |
Patrice Dumas |
Subject: |
Re: test results differents between the perl and XS parsers |
Date: |
Tue, 17 Nov 2020 00:18:31 +0100 |
On Mon, Nov 16, 2020 at 04:55:42PM +0000, Gavin Smith wrote:
>
> The simplest solution to this issue seems to be a "normalisation" phase
> (for the tests only) where the line number information is duplicated.
I did that, and also for other cases where the two parsers differed,
including one case where the XS parser duplicated less its results.
Now I am down to
--- t/results/indices/encoding_index_latin1.pl 2020-11-16 23:51:39.412993646
+0100
+++ t/results/indices/encoding_index_latin1.pl.new 2020-11-17
00:00:54.879434507 +0100
@@ -158,7 +158,7 @@
'contents' => [
{
'parent' => {},
- 'text' => "\x{e9} \x{e9}"
+ 'text' => 'é é'
}
],
'extra' => {
and same for encoding_index_latin1_enable_encoding,
encoding_index_utf8 and other similar tests.
It seems like it is the only case of accented commands in parsed text.
Any idea on what's going on?
--
Pat