mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 21:51:40 +03:00
Fix unrelated DAutoTest diff changes
This commit is contained in:
parent
e5d92c11bf
commit
73b3b4ce12
1 changed files with 2 additions and 1 deletions
|
@ -424,7 +424,8 @@ void assertThrown(T : Throwable = Exception, E)
|
|||
from `Dg`'s safety and purity.
|
||||
+/
|
||||
template enforce(E : Throwable = Exception)
|
||||
if (is(typeof(new E("", __FILE__, __LINE__)) : Throwable) || is(typeof(new E(__FILE__, __LINE__)) : Throwable))
|
||||
if (is(typeof(new E("", string.init, size_t.init)) : Throwable) ||
|
||||
is(typeof(new E(string.init, size_t.init)) : Throwable))
|
||||
{
|
||||
///
|
||||
T enforce(T)(T value, lazy const(char)[] msg = null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue