diff options
| author | Eugen Wissner <belka@caraus.de> | 2019-03-18 13:03:52 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2019-03-19 07:45:52 +0100 |
| commit | 484cb13317921c78468dc3f9c16a0fc786b119c0 (patch) | |
| tree | 22abd11091872e470112426a97ec9a89809a8e3c /os | |
| parent | 5ab99cf8873b130284336c52551ccede28f6cb2e (diff) | |
| download | tanya-484cb13317921c78468dc3f9c16a0fc786b119c0.tar.gz | |
Separate non-documentation tests from the code
Diffstat (limited to 'os')
| -rw-r--r-- | os/tanya/os/error.d | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/os/tanya/os/error.d b/os/tanya/os/error.d index 31c0102..0fabfc2 100644 --- a/os/tanya/os/error.d +++ b/os/tanya/os/error.d @@ -407,12 +407,6 @@ struct ErrorCode assert(ec.toString() == "An invalid pointer address detected"); } - @nogc nothrow pure @safe unittest - { - ErrorCode ec = cast(ErrorCode.ErrorNo) -1; - assert(ec.toString() is null); - } - private ErrorNo value_ = ErrorNo.success; alias ErrorNo this; |
