aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/undead
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-10-01 13:54:14 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:13 -0400
commit1cc6a04b8bce82fa83b62d919bf8bdf14cad0b92 (patch)
treed8c44fa4acb7f588640b2be4117e26bbb864221c /src/undead
parentheader, body split a more reliable regex solution (diff)
update sdlang, start looking to using dub remote dependenciesdoc-reform_v0.0.6
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());
}
+ +/
}