Skip to content

Commit

Permalink
Add messages to assert statements in case they fire again.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimcha committed May 14, 2011
1 parent 99336f3 commit aa8c584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/parallelism.d
Expand Up @@ -3210,9 +3210,9 @@ unittest {

uint[] nums = appNums.data, nums2 = appNums2.data;
sort!"a.at!0 < b.at!0"(zip(nums, nums2));
assert(nums == [2,3,4,5,6]);
assert(nums2 == nums);
assert(arr == nums);
assert(nums == [2,3,4,5,6], text(nums));
assert(nums2 == nums, text(nums2));
assert(arr == nums, text(arr));

// Test parallel foreach with non-random access range.
appNums.clear();
Expand Down

0 comments on commit aa8c584

Please sign in to comment.