Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions koans/src/intermediate/AboutFileIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public void basicFileWritingAndReading() throws IOException {
// No flush necessary!
fr.close();
assertEquals(size, 22);
// Why the @#%& doesn't this work?
//assertEquals(new String(in), "First line\nSecond line");

assertEquals(new String(in), "First line\nSecond line\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
file.delete();
}

Expand Down