seed r442 - trunk/tests



Author: racarr
Date: Sun Dec 14 06:29:33 2008
New Revision: 442
URL: http://svn.gnome.org/viewvc/seed?rev=442&view=rev

Log:
Add test of Seed.include syntax exception.

Added:
   trunk/tests/include-syntax.js   (contents, props changed)
Modified:
   trunk/tests/Makefile.am

Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am	(original)
+++ trunk/tests/Makefile.am	Sun Dec 14 06:29:33 2008
@@ -2,6 +2,7 @@
     argv.js \
     closure-finalization.js \
     compare.js \
+    include-syntax.js \
     struct-nested-set.js \
     struct-constructor.js \
     function-info.js \

Added: trunk/tests/include-syntax.js
==============================================================================
--- (empty file)
+++ trunk/tests/include-syntax.js	Sun Dec 14 06:29:33 2008
@@ -0,0 +1,6 @@
+#!/usr/local/bin/seed
+// Returns: 0
+// STDIN:
+// STDOUT:
+// STDERR:\n\*\* \(seed:[0-9]+\): CRITICAL \*\*: SyntaxError\. Parse error in syntax-test\.js at line 6
+Seed.include("syntax-test.js");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]