Skip to content

Commit

Permalink
Merge pull request #4685 from burner/remove_stdstream
Browse files Browse the repository at this point in the history
this PR removes the dependency to std.stream
  • Loading branch information
9rnsr committed May 28, 2015
2 parents b59c509 + 1f489c2 commit c718790
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/runnable/test15.d
Expand Up @@ -4,8 +4,8 @@ import std.array;
import core.stdc.math : cos, fabs, sin, sqrt;
import core.vararg;
import std.math: rndtol, rint;
import std.stream: File;
import std.string;
import std.stdio : File;

extern (C)
{
Expand Down Expand Up @@ -279,11 +279,11 @@ void test20()
void test21()
{
int[string] esdom;
auto f = new File("runnable/extra-files/test15.txt");
auto f = File("runnable/extra-files/test15.txt", "r");

foreach(it; f.byLine())
esdom[it.idup] = 0;

while(!f.eof())
esdom[cast(string)f.readLine()] = 0;
f.close();
esdom.rehash;
}

Expand Down

0 comments on commit c718790

Please sign in to comment.