You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metamodel.apache.org by ka...@apache.org on 2019/03/25 02:29:59 UTC
[metamodel] 05/09: Fixed failing unit test due to invalid charset
name
This is an automated email from the ASF dual-hosted git repository.
kaspersor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/metamodel.git
commit 80fc6a31fd4a50d7308ea02a600cc278b5c06b49
Author: Kasper Sørensen <i....@gmail.com>
AuthorDate: Thu Mar 14 04:49:07 2019 +0100
Fixed failing unit test due to invalid charset name
---
core/src/test/java/org/apache/metamodel/util/FileHelperTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/test/java/org/apache/metamodel/util/FileHelperTest.java b/core/src/test/java/org/apache/metamodel/util/FileHelperTest.java
index 30f2e60..82c6200 100644
--- a/core/src/test/java/org/apache/metamodel/util/FileHelperTest.java
+++ b/core/src/test/java/org/apache/metamodel/util/FileHelperTest.java
@@ -69,7 +69,7 @@ public class FileHelperTest extends TestCase {
public void testCannotAppendAndInsertBom() throws Exception {
try {
- FileHelper.getWriter(new File("foo"), "foo", true, true);
+ FileHelper.getWriter(new File("foo"), "UTF-8", true, true);
fail("Exception expected");
} catch (IllegalArgumentException e) {
assertEquals("Can not insert BOM into appending writer", e.getMessage());