From b8bdef9c42a6c17ee375bb56fa5e77f4cb0af3ab Mon Sep 17 00:00:00 2001 From: Jakob Ovrum Date: Mon, 16 Dec 2013 16:56:25 +0900 Subject: [PATCH] Fix std.algorithm.partition3 example --- std/algorithm.d | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/std/algorithm.d b/std/algorithm.d index 4f5a3b850..bdcf86a71 100644 --- a/std/algorithm.d +++ b/std/algorithm.d @@ -8526,10 +8526,9 @@ unittest { auto a = [ 8, 3, 4, 1, 4, 7, 4 ]; auto pieces = partition3(a, 4); - assert(a == [ 1, 3, 4, 4, 4, 7, 8 ]); assert(pieces[0] == [ 1, 3 ]); assert(pieces[1] == [ 4, 4, 4 ]); - assert(pieces[2] == [ 7, 8 ]); + assert(pieces[2] == [ 8, 7 ]); } unittest