summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
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;