Make javascript test-suite work with nodejs.
This commit is contained in:
parent
cef82c720f
commit
8bbd928831
37 changed files with 98 additions and 39 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue