projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7e4052
)
tests/JsCoreTest.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 17 Sep 2014 10:46:49 +0000
(18:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 17 Sep 2014 10:46:49 +0000
(18:46 +0800)
tests/JsCoreTest.vala
patch
|
blob
|
history
diff --git
a/tests/JsCoreTest.vala
b/tests/JsCoreTest.vala
index
a7ff0c1
..
3c5f4d0
100644
(file)
--- a/
tests/JsCoreTest.vala
+++ b/
tests/JsCoreTest.vala
@@
-17,7
+17,15
@@
int main (string[] args) {
"if (true) { alert('test'); }",
"javascript"
);
-
+ var res = r.validateCode(
+ "
+if (true) {
+ alert('test');
+}
+
+{ a syntax error ",
+ "javascript"
+ );
return 0;