Author: cbrisson
Date: Sun Mar 10 13:38:42 2019
New Revision: 1855151

URL: http://svn.apache.org/viewvc?rev=1855151&view=rev
Log:
[engine][VELOCITY-909] Fix failing testcase

Modified:
    
velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/test/java/org/apache/velocity/test/PreserveArgumentsLiteralsTestCase.java

Modified: 
velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/test/java/org/apache/velocity/test/PreserveArgumentsLiteralsTestCase.java
URL: 
http://svn.apache.org/viewvc/velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/test/java/org/apache/velocity/test/PreserveArgumentsLiteralsTestCase.java?rev=1855151&r1=1855150&r2=1855151&view=diff
==============================================================================
--- 
velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/test/java/org/apache/velocity/test/PreserveArgumentsLiteralsTestCase.java
 (original)
+++ 
velocity/engine/branches/VELOCITY-909/velocity-engine-core/src/test/java/org/apache/velocity/test/PreserveArgumentsLiteralsTestCase.java
 Sun Mar 10 13:38:42 2019
@@ -20,6 +20,7 @@ package org.apache.velocity.test;
  */
 
 import org.apache.velocity.app.VelocityEngine;
+import org.apache.velocity.runtime.RuntimeConstants;
 
 /**
  * This class tests the mode where velocimacros do preserve arguments literals
@@ -34,7 +35,7 @@ public class PreserveArgumentsLiteralsTe
 
     protected void setUpEngine(VelocityEngine engine)
     {
-        engine.setProperty("velocimacro.preserve.arguments.literals", true);
+        engine.setProperty(RuntimeConstants.VM_PRESERVE_ARGUMENTS_LITERALS, 
true);
     }
 
     public void testPreserveLiterals()


Reply via email to