diff --git a/demos/getpath/src/test/java/org/jclouds/blobstore/GetPathLiveTest.java b/demos/getpath/src/test/java/org/jclouds/blobstore/GetPathLiveTest.java index cad7a210f6..eb35d71f82 100644 --- a/demos/getpath/src/test/java/org/jclouds/blobstore/GetPathLiveTest.java +++ b/demos/getpath/src/test/java/org/jclouds/blobstore/GetPathLiveTest.java @@ -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 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()); } }