Skip to content

Commit

Permalink
Update src/test/java/com/redhat/cloud/common/clowder/configsource/Con…
Browse files Browse the repository at this point in the history
…figSourceTest.java

Co-authored-by: Gwenneg Lepage <gwenneg@users.noreply.github.com>
  • Loading branch information
Sgitario and gwenneg authored Apr 4, 2024
1 parent bae4d59 commit 1887435
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ private static String readFile(String filename) {
InputStream is = ConfigSourceTest.class.getResourceAsStream(filename);

try {
return new String(is.readAllBytes());
return new String(is.readAllBytes(), UTF_8);
} catch (IOException ex) {
Assertions.fail("File '" + filename + "' not found!");
return null;
Expand Down

0 comments on commit 1887435

Please sign in to comment.