From c3728525bdd830864612b0a437a1adb2cb092e3e Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 15 Oct 2012 13:48:35 -0700 Subject: [PATCH] Fix compile error regression from a5c56e7 --- .../src/test/java/org/jclouds/blobstore/GetPathLiveTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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()); } }