mirror of https://gitee.com/bigwinds/arangodb
removed try/catch
This commit is contained in:
parent
a67eb55827
commit
5d21d2ac2d
|
@ -348,13 +348,7 @@ function RunTest (path) {
|
||||||
var content;
|
var content;
|
||||||
var f;
|
var f;
|
||||||
|
|
||||||
try {
|
|
||||||
content = SYS_READ(path);
|
content = SYS_READ(path);
|
||||||
}
|
|
||||||
catch (err) {
|
|
||||||
console.error("cannot load test file '%s'", path);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
content = "(function(jsUnity){jsUnity.attachAssertions();" + content + "})";
|
content = "(function(jsUnity){jsUnity.attachAssertions();" + content + "})";
|
||||||
f = SYS_EXECUTE(content, undefined, path);
|
f = SYS_EXECUTE(content, undefined, path);
|
||||||
|
|
Loading…
Reference in New Issue