Commit 157bd2b5 authored by Thomas Mortagne's avatar Thomas Mortagne
Browse files

XRENDERING-621: Make rendering errors translatables and extendables

* fix test
parent 8a6b78be
...@@ -276,7 +276,7 @@ public void transformNotExistingMacro() throws Exception ...@@ -276,7 +276,7 @@ public void transformNotExistingMacro() throws Exception
String expected = "beginDocument\n" String expected = "beginDocument\n"
+ "beginMacroMarkerStandalone [notexisting] []\n" + "beginMacroMarkerStandalone [notexisting] []\n"
+ "beginGroup [[class]=[xwikirenderingerror]]\n" + "beginGroup [[class]=[xwikirenderingerror]]\n"
+ "onWord [Unknown macro: notexisting.]\n" + "onWord [Unknown macro: notexisting. Click on this message for details.]\n"
+ "endGroup [[class]=[xwikirenderingerror]]\n" + "endGroup [[class]=[xwikirenderingerror]]\n"
+ "beginGroup [[class]=[xwikirenderingerrordescription hidden]]\n" + "beginGroup [[class]=[xwikirenderingerrordescription hidden]]\n"
+ "onVerbatim [The [notexisting] macro is not in the list of registered macros. " + "onVerbatim [The [notexisting] macro is not in the list of registered macros. "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment