[license-reconcile] 02/02: Fix random order issues in t/18-app.t

Axel Beckert abe at deuxchevaux.org
Sat Sep 28 17:04:33 UTC 2013


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository license-reconcile.

commit a389c396a3b9ec7d3ff22690b510a3bbbe8c6120
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sat Sep 28 18:58:00 2013 +0200

    Fix random order issues in t/18-app.t
---
 debian/changelog |    2 +-
 t/18-app.t       |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8dfcaa5..1eb3ab6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ license-reconcile (0.4) UNRELEASED; urgency=low
 
   TODO: Fix $VERSION in all files, most of them are still set to 0.1!
 
-  * Fix random order issues in t/17-copyright.t and
+  * Fix random order issues in t/17-copyright.t, t/18-app.t, and
     t/20-copyright_extract.t.
   * Fix t/17-copyright.t for usage with recent libset-intspan-perl, add
     version to build-dependency.
diff --git a/t/18-app.t b/t/18-app.t
index d6d1fcd..6847bf2 100644
--- a/t/18-app.t
+++ b/t/18-app.t
@@ -156,7 +156,7 @@ my $app11 = Debian::LicenseReconcile::App->new(
 isa_ok($app11, 'Debian::LicenseReconcile::App');
 is($app11->run, 1, 'exit status');
 @list = Debian::LicenseReconcile::Errors->list;
-cmp_deeply(\@list, [
+cmp_deeply(\@list, bag(
     $DLR_ERROR1,
     $DLR_ERROR2,
     $DLR_ERROR3,
@@ -167,4 +167,4 @@ cmp_deeply(\@list, [
     $DLR_ERROR8,
     $DLR_ERROR9,
     $DLR_ERROR10,
-]);
+));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/license-reconcile.git



More information about the Pkg-perl-cvs-commits mailing list