11// Generated by ReScript, PLEASE EDIT WITH CARE
22
3- import * as Mt from "./mt.mjs" ;
4-
5- let suites = {
6- contents : /* [] */ 0
7- } ;
8-
9- let test_id = {
10- contents : 0
11- } ;
12-
13- function eq ( loc , x , y ) {
14- test_id . contents = test_id . contents + 1 | 0 ;
15- suites . contents = {
16- hd : [
17- loc + ( " id " + test_id . contents . toString ( ) ) ,
18- ( ) => ( {
19- TAG : "Eq" ,
20- _0 : x ,
21- _1 : y
22- } )
23- ] ,
24- tl : suites . contents
25- } ;
26- }
3+ import * as Mocha from "mocha" ;
4+ import * as Test_utils from "./test_utils.mjs" ;
275
286function f0 ( x , y , z ) {
297 return ( x + y | 0 ) + z | 0 ;
@@ -41,20 +19,16 @@ function f3(x) {
4119 return ( y , z ) => ( x + y | 0 ) + z | 0 ;
4220}
4321
44- eq ( "File \"arity_deopt.res\", line 50, characters 5-12" , 6 , 6 ) ;
45-
46- eq ( "File \"arity_deopt.res\", line 51, characters 5-12" , 6 , 6 ) ;
47-
48- eq ( "File \"arity_deopt.res\", line 52, characters 5-12" , 6 , 6 ) ;
49-
50- eq ( "File \"arity_deopt.res\", line 53, characters 5-12" , 6 , 6 ) ;
51-
52- Mt . from_pair_suites ( "Arity_deopt" , suites . contents ) ;
22+ Mocha . describe ( "Arity_deopt" , ( ) => {
23+ Mocha . test ( "arity_deopt_tests" , ( ) => {
24+ Test_utils . eq ( "File \"arity_deopt.res\", line 43, characters 7-14" , 6 , 6 ) ;
25+ Test_utils . eq ( "File \"arity_deopt.res\", line 44, characters 7-14" , 6 , 6 ) ;
26+ Test_utils . eq ( "File \"arity_deopt.res\", line 45, characters 7-14" , 6 , 6 ) ;
27+ Test_utils . eq ( "File \"arity_deopt.res\", line 46, characters 7-14" , 6 , 6 ) ;
28+ } ) ;
29+ } ) ;
5330
5431export {
55- suites ,
56- test_id ,
57- eq ,
5832 f0 ,
5933 f1 ,
6034 f2 ,
0 commit comments