mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Split-asserts: where an aver or checkl has two failure modes combined
with &&, split it into two AVERs or CHECKLs. Copied from Perforce Change: 155170 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
f73aa6634c
commit
09cf54c122
9 changed files with 34 additions and 20 deletions
|
|
@ -1401,7 +1401,8 @@ void TraceStart(Trace trace, double mortality, double finishingTime)
|
|||
|
||||
AVERT(Trace, trace);
|
||||
AVER(trace->state == TraceINIT);
|
||||
AVER(0.0 <= mortality && mortality <= 1.0);
|
||||
AVER(0.0 <= mortality);
|
||||
AVER(mortality <= 1.0);
|
||||
arena = trace->arena;
|
||||
AVER(finishingTime >= 0.0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue