mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
DScanner: automatially set all unattributed unittests to @safe or @system
This commit is contained in:
parent
9c794f5c87
commit
a36cec8686
88 changed files with 838 additions and 838 deletions
|
@ -1479,7 +1479,7 @@ class ErrnoException : Exception
|
|||
super(msg ~ " (" ~ s[0..s.strlen].idup ~ ")", file, line);
|
||||
}
|
||||
|
||||
unittest
|
||||
@system unittest
|
||||
{
|
||||
import core.stdc.errno : errno, EAGAIN;
|
||||
|
||||
|
@ -1491,7 +1491,7 @@ class ErrnoException : Exception
|
|||
assert(ex.errno == EAGAIN);
|
||||
}
|
||||
|
||||
unittest
|
||||
@system unittest
|
||||
{
|
||||
import core.stdc.errno : EAGAIN;
|
||||
auto ex = new ErrnoException("oh no", EAGAIN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue