commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r800043 - /commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl
Date Sun, 02 Aug 2009 12:27:55 GMT
Author: sebb
Date: Sun Aug  2 12:27:54 2009
New Revision: 800043

URL: http://svn.apache.org/viewvc?rev=800043&view=rev
Log:
Add AL header - also checks block comments
Add tests for JEXL-44 and JEXL-47

Modified:
    commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl

Modified: commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl?rev=800043&r1=800042&r2=800043&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl (original)
+++ commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl Sun Aug  2 12:27:54 2009
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+// This tests for JEXL-47. AL header above tests for block comments. 
+
 ##
 ## This is a test script
 ##
@@ -7,4 +26,8 @@
 result = x * y + 5;
 if (out != null) out.println("The result is " + result);
 ## return the result.
-result;
\ No newline at end of file
+result; // JEXL-44 should ignore "quotes" here
+
+/*
+   Trailing comments are also ignored
+*/
\ No newline at end of file



Mime
View raw message