From 14e39a0ce479023f6e4fb226528ca86bb2bd58af Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@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
Bug: https://github.com/yappo/p5-String-Diff/issues/6

---
 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

