@@ -987,77 +987,89 @@ var suites = {
987
987
] ,
988
988
tl : {
989
989
hd : [
990
- "File \"caml_compare_test.ml\", line 87, characters 4-11 " ,
990
+ "eq_no_prototype " ,
991
991
( function ( param ) {
992
992
return {
993
993
TAG : /* Eq */ 0 ,
994
- _0 : Caml_obj . compare ( null , {
995
- hd : 3 ,
996
- tl : /* [] */ 0
997
- } ) ,
998
- _1 : - 1
994
+ _0 : Caml_obj . equal ( { x :1 } , ( ( function ( ) { let o = Object . create ( null ) ; o . x = 1 ; return o ; } ) ( ) ) ) ,
995
+ _1 : true
999
996
} ;
1000
997
} )
1001
998
] ,
1002
999
tl : {
1003
1000
hd : [
1004
- "File \"caml_compare_test.ml\", line 90 , characters 4-11" ,
1001
+ "File \"caml_compare_test.ml\", line 88 , characters 4-11" ,
1005
1002
( function ( param ) {
1006
1003
return {
1007
1004
TAG : /* Eq */ 0 ,
1008
- _0 : Caml_obj . compare ( {
1005
+ _0 : Caml_obj . compare ( null , {
1009
1006
hd : 3 ,
1010
1007
tl : /* [] */ 0
1011
- } , null ) ,
1012
- _1 : 1
1008
+ } ) ,
1009
+ _1 : - 1
1013
1010
} ;
1014
1011
} )
1015
1012
] ,
1016
1013
tl : {
1017
1014
hd : [
1018
- "File \"caml_compare_test.ml\", line 93 , characters 4-11" ,
1015
+ "File \"caml_compare_test.ml\", line 91 , characters 4-11" ,
1019
1016
( function ( param ) {
1020
1017
return {
1021
1018
TAG : /* Eq */ 0 ,
1022
- _0 : Caml_obj . compare ( null , 0 ) ,
1023
- _1 : - 1
1019
+ _0 : Caml_obj . compare ( {
1020
+ hd : 3 ,
1021
+ tl : /* [] */ 0
1022
+ } , null ) ,
1023
+ _1 : 1
1024
1024
} ;
1025
1025
} )
1026
1026
] ,
1027
1027
tl : {
1028
1028
hd : [
1029
- "File \"caml_compare_test.ml\", line 96 , characters 4-11" ,
1029
+ "File \"caml_compare_test.ml\", line 94 , characters 4-11" ,
1030
1030
( function ( param ) {
1031
1031
return {
1032
1032
TAG : /* Eq */ 0 ,
1033
- _0 : Caml_obj . compare ( 0 , null ) ,
1034
- _1 : 1
1033
+ _0 : Caml_obj . compare ( null , 0 ) ,
1034
+ _1 : - 1
1035
1035
} ;
1036
1036
} )
1037
1037
] ,
1038
1038
tl : {
1039
1039
hd : [
1040
- "File \"caml_compare_test.ml\", line 99 , characters 4-11" ,
1040
+ "File \"caml_compare_test.ml\", line 97 , characters 4-11" ,
1041
1041
( function ( param ) {
1042
1042
return {
1043
1043
TAG : /* Eq */ 0 ,
1044
- _0 : Caml_obj . compare ( undefined , 0 ) ,
1045
- _1 : - 1
1044
+ _0 : Caml_obj . compare ( 0 , null ) ,
1045
+ _1 : 1
1046
1046
} ;
1047
1047
} )
1048
1048
] ,
1049
1049
tl : {
1050
1050
hd : [
1051
- "File \"caml_compare_test.ml\", line 102 , characters 4-11" ,
1051
+ "File \"caml_compare_test.ml\", line 100 , characters 4-11" ,
1052
1052
( function ( param ) {
1053
1053
return {
1054
1054
TAG : /* Eq */ 0 ,
1055
- _0 : Caml_obj . compare ( 0 , undefined ) ,
1056
- _1 : 1
1055
+ _0 : Caml_obj . compare ( undefined , 0 ) ,
1056
+ _1 : - 1
1057
1057
} ;
1058
1058
} )
1059
1059
] ,
1060
- tl : /* [] */ 0
1060
+ tl : {
1061
+ hd : [
1062
+ "File \"caml_compare_test.ml\", line 103, characters 4-11" ,
1063
+ ( function ( param ) {
1064
+ return {
1065
+ TAG : /* Eq */ 0 ,
1066
+ _0 : Caml_obj . compare ( 0 , undefined ) ,
1067
+ _1 : 1
1068
+ } ;
1069
+ } )
1070
+ ] ,
1071
+ tl : /* [] */ 0
1072
+ }
1061
1073
}
1062
1074
}
1063
1075
}
@@ -1119,21 +1131,21 @@ function eq(loc, x, y) {
1119
1131
Mt . eq_suites ( test_id , suites , loc , x , y ) ;
1120
1132
}
1121
1133
1122
- eq ( "File \"caml_compare_test.ml\", line 112 , characters 6-13" , true , Caml_obj . greaterthan ( 1 , undefined ) ) ;
1134
+ eq ( "File \"caml_compare_test.ml\", line 113 , characters 6-13" , true , Caml_obj . greaterthan ( 1 , undefined ) ) ;
1123
1135
1124
- eq ( "File \"caml_compare_test.ml\", line 113 , characters 6-13" , true , Caml_obj . lessthan ( /* [] */ 0 , {
1136
+ eq ( "File \"caml_compare_test.ml\", line 114 , characters 6-13" , true , Caml_obj . lessthan ( /* [] */ 0 , {
1125
1137
hd : 1 ,
1126
1138
tl : /* [] */ 0
1127
1139
} ) ) ;
1128
1140
1129
- eq ( "File \"caml_compare_test.ml\", line 114 , characters 6-13" , false , Caml_obj . greaterthan ( undefined , 1 ) ) ;
1141
+ eq ( "File \"caml_compare_test.ml\", line 115 , characters 6-13" , false , Caml_obj . greaterthan ( undefined , 1 ) ) ;
1130
1142
1131
- eq ( "File \"caml_compare_test.ml\", line 115 , characters 6-13" , false , Caml_obj . greaterthan ( undefined , [
1143
+ eq ( "File \"caml_compare_test.ml\", line 116 , characters 6-13" , false , Caml_obj . greaterthan ( undefined , [
1132
1144
1 ,
1133
1145
30
1134
1146
] ) ) ;
1135
1147
1136
- eq ( "File \"caml_compare_test.ml\", line 116 , characters 6-13" , false , Caml_obj . lessthan ( [
1148
+ eq ( "File \"caml_compare_test.ml\", line 117 , characters 6-13" , false , Caml_obj . lessthan ( [
1137
1149
1 ,
1138
1150
30
1139
1151
] , undefined ) ) ;
0 commit comments