forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathes6_module_test.js
42 lines (38 loc) · 971 Bytes
/
es6_module_test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
'use strict';
var Mt = require("./mt.js");
var List = require("../../lib/js/list.js");
var Block = require("../../lib/js/block.js");
function length(param) {
return 3;
}
Mt.from_pair_suites("Es6_module_test", /* :: */[
/* tuple */[
"list_length",
(function (param) {
return /* Eq */Block.__(0, [
List.length(/* :: */[
1,
/* :: */[
2,
/* [] */0
]
]),
2
]);
})
],
/* :: */[
/* tuple */[
"length",
(function (param) {
return /* Eq */Block.__(0, [
3,
3
]);
})
],
/* [] */0
]
]);
exports.length = length;
/* Not a pure module */