mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
fix property enforcement
This commit is contained in:
parent
f470f33eb7
commit
384a1da82f
2 changed files with 3 additions and 3 deletions
|
@ -1842,7 +1842,7 @@ unittest
|
|||
unittest
|
||||
{
|
||||
FloatingPointControl ctrl;
|
||||
if(FloatingPointControl.hasExceptionTraps())
|
||||
if(FloatingPointControl.hasExceptionTraps)
|
||||
ctrl.disableExceptions(FloatingPointControl.allExceptions);
|
||||
ctrl.rounding = FloatingPointControl.roundToNearest;
|
||||
|
||||
|
@ -3962,7 +3962,7 @@ unittest
|
|||
{
|
||||
assert(FloatingPointControl.rounding
|
||||
== FloatingPointControl.roundToNearest);
|
||||
if(FloatingPointControl.hasExceptionTraps())
|
||||
if(FloatingPointControl.hasExceptionTraps)
|
||||
assert(FloatingPointControl.enabledExceptions == 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue