mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
fix win32 parts of andrei's std.stdio changes
This commit is contained in:
parent
6180c14cd4
commit
23d7f34df0
1 changed files with 2 additions and 2 deletions
|
@ -1574,7 +1574,7 @@ unittest
|
|||
f.writeln("Hello, ", "world number ", 42, "!");
|
||||
f.close();
|
||||
version (Windows)
|
||||
assert(cast(char[]) std.file.read(file) ==
|
||||
assert(cast(char[]) std.file.read(deleteme) ==
|
||||
"Hello, world number 42!\r\n");
|
||||
else
|
||||
assert(cast(char[]) std.file.read(deleteme) ==
|
||||
|
@ -1679,7 +1679,7 @@ unittest
|
|||
f.writefln("Hello, %s world number %s!", "nice", 42);
|
||||
f.close();
|
||||
version (Windows)
|
||||
assert(cast(char[]) std.file.read(file) ==
|
||||
assert(cast(char[]) std.file.read(deleteme) ==
|
||||
"Hello, nice world number 42!\r\n");
|
||||
else
|
||||
assert(cast(char[]) std.file.read(deleteme) ==
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue