summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2019-03-18 13:03:52 +0100
committerEugen Wissner <belka@caraus.de>2019-03-19 07:45:52 +0100
commit484cb13317921c78468dc3f9c16a0fc786b119c0 (patch)
tree22abd11091872e470112426a97ec9a89809a8e3c /os
parent5ab99cf8873b130284336c52551ccede28f6cb2e (diff)
downloadtanya-484cb13317921c78468dc3f9c16a0fc786b119c0.tar.gz
Separate non-documentation tests from the code
Diffstat (limited to 'os')
-rw-r--r--os/tanya/os/error.d6
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;