Revision: 282
http://javascriptlint.svn.sourceforge.net/javascriptlint/?rev=282&view=rev
Author: matthiasmiller
Date: 2009-10-22 11:33:24 +0000 (Thu, 22 Oct 2009)
Log Message:
-----------
#2861271: Add a test.
Added Paths:
-----------
trunk/tests/errors/syntax_error_2.js
Added: trunk/tests/errors/syntax_error_2.js
===================================================================
--- trunk/tests/errors/syntax_error_2.js (rev 0)
+++ trunk/tests/errors/syntax_error_2.js 2009-10-22 11:33:24 UTC (rev 282)
@@ -0,0 +1,9 @@
+/*
+This failed in cjsl but is working in pyjsl.
+http://sourceforge.net/tracker/?func=detail&aid=2861271&group_id=168518&atid=847185
+*/
+function syntax_error_2() {
+ var o = {};
+ o.for = 10;
+}
+
Property changes on: trunk/tests/errors/syntax_error_2.js
___________________________________________________________________
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|