From 1cc6a04b8bce82fa83b62d919bf8bdf14cad0b92 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 1 Oct 2016 13:54:14 -0400 Subject: update sdlang, start looking to using dub remote dependencies --- src/undead/stream.d | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/undead') 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()); } + +/ } -- cgit v1.2.3