Sign in
◑
Theme
gdch-oss
/
third_party
/
0dbdec00c87fbf64452c2c151fabb724b8b933a0
/
.
/
tests
/
testsrc
/
commonjs
/
module
/
1.0
/
absolute
/
program.js
blob: 7980ecf1436fd4df917494341e7629f2c416e16d [
file
]
var
test
=
require
(
'test'
);
var
a
=
require
(
'submodule/a'
);
var
b
=
require
(
'b'
);
test
.
assert
(
a
.
foo
().
foo
===
b
.
foo
,
'require works with absolute identifiers'
);
test
.
print
(
'DONE'
,
'info'
);