[rkward-cvs] SF.net SVN: rkward: [755] trunk/rkward/rkward/r-syntax-test.R
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Thu Sep 21 11:18:07 UTC 2006
Revision: 755
http://svn.sourceforge.net/rkward/?rev=755&view=rev
Author: tfry
Date: 2006-09-21 04:18:03 -0700 (Thu, 21 Sep 2006)
Log Message:
-----------
Add unexpected braces test to syntax test case
Modified Paths:
--------------
trunk/rkward/rkward/r-syntax-test.R
Modified: trunk/rkward/rkward/r-syntax-test.R
===================================================================
--- trunk/rkward/rkward/r-syntax-test.R 2006-09-21 11:12:50 UTC (rev 754)
+++ trunk/rkward/rkward/r-syntax-test.R 2006-09-21 11:18:03 UTC (rev 755)
@@ -30,12 +30,14 @@
try ( {
x <<- 1
x <<<- 1 # syntax error
- x += 1 -= x1 *= x2 # syntax error
- x =+ 1 =- x1 =* x2 # syntax error
+ x += 1 -= x1 *= x2 # syntax error
+ x =+ 1 =- x1 =* x2 # syntax error
"%my 1st infix%" <- function (x, y) { x + y } # legal infix
3 %my 1st infix% 4
"%my%infix%" <- function (x, y) { x + y } # illegal infix
- 3 %my%infix% 4 # syntax error
+ 3 %my%infix% 4 # syntax error
+ ) # unexpected closing ')'
+ (}) # unexpected closing '}'
},
silent=FALSE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list