Control: tag -1 patch

On Mon, Dec 26, 2016 at 10:59:33AM +0200, Niko Tyni wrote:
> Package: libstring-diff-perl
> Version: 0.07-1
> Severity: serious
> User: debian-p...@lists.debian.org
> Usertags: autopkgtest

>   #   Failed test at t/02_diff_fully-pp.t line 16.
>   #     Structures begin differing at:
>   #          $got->[1] = undef
>   #     $expected->[1] = ARRAY(0x557f6be5d7a8)
>   # Looks like you failed 1 test of 13.

Patch attached.
-- 
Niko Tyni   nt...@debian.org
>From 14e39a0ce479023f6e4fb226528ca86bb2bd58af Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Mon, 26 Dec 2016 19:39:12 +0200
Subject: [PATCH] Fix the test suite for YAML-1.21 compatibility

YAML-1.21, specifically <https://github.com/ingydotnet/yaml-pm/issues/131>,
changed the handling of trailing nulls.

Adapt the test suite accordingly.

Bug-Debian: https://bugs.debian.org/849362
---
 t/02_diff_fully-pp.t | 2 +-
 t/02_diff_fully.t    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/02_diff_fully-pp.t b/t/02_diff_fully-pp.t
index 69a96ab..27e32bd 100644
--- a/t/02_diff_fully-pp.t
+++ b/t/02_diff_fully-pp.t
@@ -30,7 +30,7 @@ new: perl
 --- data1
 -
  - ['-', 'perl']
--
+- []
 --- data2
 old: perl
 new: 
diff --git a/t/02_diff_fully.t b/t/02_diff_fully.t
index f816a89..6c4c8d8 100644
--- a/t/02_diff_fully.t
+++ b/t/02_diff_fully.t
@@ -29,7 +29,7 @@ new: perl
 --- data1
 -
  - ['-', 'perl']
--
+- []
 --- data2
 old: perl
 new: 
-- 
2.11.0

Reply via email to