projects
/
gnome.seed
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tests: Ditch the python test framework, use standard make check with a small
[gnome.seed]
/
tests
/
javascript
/
include-syntax.js
1
#!/usr/bin/env seed
2
3
testsuite = imports.testsuite
4
5
try
6
{
7
Seed.include("syntax-test-noasserts.js")
8
testsuite.unreachable()
9
}
10
catch(e)
11
{
12
testsuite.assert(e instanceof SyntaxError)
13
}
14
15
testsuite.checkAsserts(1)
16