mirror of
https://github.com/dlang/phobos.git
synced 2025-05-07 11:37:24 +03:00
Watermarks slightly different for debug vs release
This commit is contained in:
parent
3cb9e4d821
commit
26f47b1e2e
1 changed files with 2 additions and 1 deletions
|
@ -1764,7 +1764,8 @@ unittest
|
||||||
|
|
||||||
// This should get smaller with time. On occasion it may go larger, but only
|
// This should get smaller with time. On occasion it may go larger, but only
|
||||||
// if there's thorough justification.
|
// if there's thorough justification.
|
||||||
enum uint watermark = 1676220;
|
debug enum uint watermark = 1676280;
|
||||||
|
else enum uint watermark = 1676220;
|
||||||
|
|
||||||
import std.conv;
|
import std.conv;
|
||||||
assert(comps <= watermark, text("You seem to have pessimized sort! ",
|
assert(comps <= watermark, text("You seem to have pessimized sort! ",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue