mirror of https://github.com/apache/jclouds.git
Merge pull request #898 from andrewgaul/files-tostring-regression
Fix compile error regression from a5c56e7
This commit is contained in:
commit
96ea0134fb
|
@ -38,6 +38,7 @@ import org.testng.annotations.Optional;
|
||||||
import org.testng.annotations.Parameters;
|
import org.testng.annotations.Parameters;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
import com.google.common.base.Charsets;
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
|
@ -152,8 +153,8 @@ public class GetPathLiveTest {
|
||||||
new File(tmpDirectory).mkdirs();
|
new File(tmpDirectory).mkdirs();
|
||||||
GetPath.main(uriKey, tmpDirectory);
|
GetPath.main(uriKey, tmpDirectory);
|
||||||
for (Entry<String, String> entry : fiveStrings.entrySet()) {
|
for (Entry<String, String> entry : fiveStrings.entrySet()) {
|
||||||
assertEquals(Files.toString(new File(tmpDirectory,
|
assertEquals(Files.toString(new File(tmpDirectory, entry.getKey()),
|
||||||
entry.getKey())), entry.getValue());
|
Charsets.UTF_8), entry.getValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue