Fix FileStream.close and let the file test clean up after itself.
This commit is contained in:
parent
cf75d968d5
commit
5bbf07beb8
2 changed files with 14 additions and 2 deletions
|
@ -21,4 +21,7 @@ void main()
|
|||
f.seek(2);
|
||||
f.read(dst);
|
||||
assert(dst[] == [3, 4, 5, 6, 7]);
|
||||
f.close();
|
||||
|
||||
removeFile("test.dat");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue