Skip to content

Commit

Permalink
Merge pull request matyb#63 from DavidWhitlock/augment-basicFileWriti…
Browse files Browse the repository at this point in the history
…ngAndReading

Give the student a clue about the String in basicFileWritingAndReading
  • Loading branch information
matyb authored Jun 24, 2016
2 parents 12f7a35 + a4718be commit 2761cae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion koans/src/intermediate/AboutFileIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ public void basicFileWritingAndReading() throws IOException {
// No flush necessary!
fr.close();
assertEquals(size, __);
assertEquals(new String(in), __);
String expected = new String(in);
assertEquals(expected.length(), __);
assertEquals(expected, __);
file.delete();
}

Expand Down

0 comments on commit 2761cae

Please sign in to comment.