IO test cleanup

This commit is contained in:
eugenp 2014-10-26 21:47:14 +02:00
parent 4a0dd47f36
commit ab113fea22
1 changed files with 2 additions and 2 deletions

View File

@ -129,9 +129,9 @@ public class GuavaIOTest {
final FileReader reader = new FileReader("src/test/resources/test1.in");
final String result = CharStreams.toString(reader);
reader.close();
assertEquals(expectedValue, result);
reader.close();
}
@Test
@ -164,9 +164,9 @@ public class GuavaIOTest {
final FileInputStream reader = new FileInputStream("src/test/resources/test1.in");
final byte[] result = ByteStreams.toByteArray(reader);
reader.close();
assertEquals(expectedValue, new String(result));
reader.close();
}
@Test