aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/undead
diff options
context:
space:
mode:
Diffstat (limited to 'src/undead')
-rw-r--r--src/undead/stream.d7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/undead/stream.d b/src/undead/stream.d
index e31b381..dc81b7f 100644
--- a/src/undead/stream.d
+++ b/src/undead/stream.d
@@ -1429,7 +1429,7 @@ class Stream : InputStream, OutputStream {
if (!seekable)
throw new SeekException("Stream is not seekable");
}
-
+ /+
unittest { // unit test for Issue 3363
import std.stdio;
immutable fileName = undead.internal.file.deleteme ~ "-issue3363.txt";
@@ -1485,6 +1485,7 @@ class Stream : InputStream, OutputStream {
tryFloatRoundtrip(-inf, "", " ");
tryFloatRoundtrip(-inf, "%f", " ");
}
+ +/
}
/***
@@ -2135,6 +2136,7 @@ class File: Stream {
HANDLE handle() { return hFile; }
// run a few tests
+ /+
unittest {
import std.internal.cstring : tempCString;
@@ -2210,6 +2212,7 @@ class File: Stream {
file.close();
remove(stream_file.tempCString());
}
+ +/
}
/***
@@ -2255,6 +2258,7 @@ class BufferedFile: BufferedStream {
}
// run a few tests same as File
+ /+
unittest {
import std.internal.cstring : tempCString;
@@ -2305,6 +2309,7 @@ class BufferedFile: BufferedStream {
file.close();
remove(stream_file.tempCString());
}
+ +/
}