2009-10-30 06:34:10 +08:00
|
|
|
process.mixin(require("common.js"));
|
2009-09-30 01:28:54 +08:00
|
|
|
|
|
|
|
setTimeout(function () {
|
|
|
|
a = require("fixtures/a.js");
|
|
|
|
}, 50);
|
|
|
|
|
|
|
|
process.addListener("exit", function () {
|
|
|
|
assertTrue("A" in a);
|
|
|
|
assertEquals("A", a.A());
|
|
|
|
assertEquals("D", a.D());
|
|
|
|
});
|