Merge pull request #898 from andrewgaul/files-tostring-regression

Fix compile error regression from a5c56e7
This commit is contained in:
Adrian Cole 2012-10-15 15:17:03 -07:00
commit 96ea0134fb
1 changed files with 3 additions and 2 deletions

View File

@ -38,6 +38,7 @@ import org.testng.annotations.Optional;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import com.google.common.base.Charsets;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
@ -152,8 +153,8 @@ public class GetPathLiveTest {
new File(tmpDirectory).mkdirs();
GetPath.main(uriKey, tmpDirectory);
for (Entry<String, String> entry : fiveStrings.entrySet()) {
assertEquals(Files.toString(new File(tmpDirectory,
entry.getKey())), entry.getValue());
assertEquals(Files.toString(new File(tmpDirectory, entry.getKey()),
Charsets.UTF_8), entry.getValue());
}
}