Make javascript test-suite work with nodejs.

This commit is contained in:
Oliver Buchtala 2013-09-03 16:57:40 +02:00
commit 8bbd928831
37 changed files with 98 additions and 39 deletions

View file

@ -1,10 +1,11 @@
var struct_value = require("./struct_value");
b = new struct_value.Bar();
b.a.x = 3;
if (b.a.x != 3)
if (b.a.x != 3)
throw "RuntimeError";
b.b.x = 3;
if (b.b.x != 3)
if (b.b.x != 3)
throw "RuntimeError"