[mb-commits] branch, master, updated. Sort by edit ids correctly in Controller::Work::Create test.

MusicBrainz Git Server <[email protected]>
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1TdIli-0002vZ-1S@wiley>
The branch, master has been updated
       via  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=667064ed94d95f4a5cb04d28cadf59079440266f (commit)
      from  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=996b98e04cea6273affa1b7f0cccb4a79a4807d7 (commit)

Summary of changes:
 .../t/MusicBrainz/Server/Controller/Work/Create.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 667064ed94d95f4a5cb04d28cadf59079440266f
Author: warp <[email protected]>
Date:   Tue Nov 27 11:51:22 2012 +0100

    Sort by edit ids correctly in Controller::Work::Create test.

diff --git a/t/lib/t/MusicBrainz/Server/Controller/Work/Create.pm b/t/lib/t/MusicBrainz/Server/Controller/Work/Create.pm
index b83338e..c8d6fde 100644
--- a/t/lib/t/MusicBrainz/Server/Controller/Work/Create.pm
+++ b/t/lib/t/MusicBrainz/Server/Controller/Work/Create.pm
@@ -3,7 +3,7 @@ use Test::Routine;
 use Test::More;
 use HTTP::Request::Common;
 use MusicBrainz::Server::Test qw( capture_edits html_ok );
-use List::UtilsBy qw( sort_by );
+use List::UtilsBy qw( nsort_by );
 
 with 't::Mechanize', 't::Context';
 
@@ -33,7 +33,7 @@ my @edits = capture_edits {
     my $response = $mech->request($request);
 } $c;
 
-@edits = sort_by { $_->id } @edits;
+@edits = nsort_by { $_->id } @edits;
 
 ok($mech->success);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
mb_server
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.