diff --git a/src/test/java/de/neemann/digital/draw/graphics/GraphicSVGIndexTest.java b/src/test/java/de/neemann/digital/draw/graphics/GraphicSVGIndexTest.java
index 7d3faf671..716a6f82f 100644
--- a/src/test/java/de/neemann/digital/draw/graphics/GraphicSVGIndexTest.java
+++ b/src/test/java/de/neemann/digital/draw/graphics/GraphicSVGIndexTest.java
@@ -12,7 +12,7 @@ public class GraphicSVGIndexTest extends TestCase {
assertEquals("Z0", gs.formatText("Z_0", Style.NORMAL));
assertEquals("<a>", gs.formatText("", Style.NORMAL));
- assertEquals("Z", gs.formatText("~Z", Style.NORMAL));
+ assertEquals("\u00ACZ", gs.formatText("~Z", Style.NORMAL));
}
}
\ No newline at end of file