@@ -34,7 +34,7 @@ function test(param, param$1) {
34
34
}
35
35
36
36
if ( process . platform !== "win32" ) {
37
- eq ( "File \"a_filename_test.ml \", line 15 , characters 5-12 " , [
37
+ eq ( "File \"a_filename_test.res \", line 16 , characters 4-11 " , [
38
38
Ext_filename_test . combine ( "/tmp" , "subdir/file.txt" ) ,
39
39
Ext_filename_test . combine ( "/tmp" , "/a/tmp.txt" ) ,
40
40
Ext_filename_test . combine ( "/a/tmp.txt" , "subdir/file.txt" )
@@ -43,59 +43,59 @@ if (process.platform !== "win32") {
43
43
"/a/tmp.txt" ,
44
44
"/a/tmp.txt/subdir/file.txt"
45
45
] ) ;
46
- eq ( "File \"a_filename_test.ml \", line 27 , characters 5-12" , Ext_filename_test . node_relative_path ( true , {
46
+ eq ( "File \"a_filename_test.res \", line 28 , characters 5-12" , Ext_filename_test . node_relative_path ( true , {
47
47
NAME : "File" ,
48
48
VAL : "./a/b.c"
49
49
} , {
50
50
NAME : "File" ,
51
51
VAL : "./a/u/g.c"
52
52
} ) , "./u/g.c" ) ;
53
- eq ( "File \"a_filename_test.ml \", line 32 , characters 5-12 " , Ext_filename_test . node_relative_path ( true , {
53
+ eq ( "File \"a_filename_test.res \", line 31 , characters 4-11 " , Ext_filename_test . node_relative_path ( true , {
54
54
NAME : "File" ,
55
55
VAL : "./a/b.c"
56
56
} , {
57
57
NAME : "File" ,
58
58
VAL : "xxxghsoghos/ghsoghso/node_modules/buckle-stdlib/list.js"
59
59
} ) , "buckle-stdlib/list.js" ) ;
60
- eq ( "File \"a_filename_test.ml \", line 38 , characters 5-12 " , Ext_filename_test . node_relative_path ( true , {
60
+ eq ( "File \"a_filename_test.res \", line 37 , characters 4-11 " , Ext_filename_test . node_relative_path ( true , {
61
61
NAME : "File" ,
62
62
VAL : "./a/b.c"
63
63
} , {
64
64
NAME : "File" ,
65
65
VAL : "xxxghsoghos/ghsoghso/node_modules//buckle-stdlib/list.js"
66
66
} ) , "buckle-stdlib/list.js" ) ;
67
- eq ( "File \"a_filename_test.ml \", line 44 , characters 5-12 " , Ext_filename_test . node_relative_path ( true , {
67
+ eq ( "File \"a_filename_test.res \", line 43 , characters 4-11 " , Ext_filename_test . node_relative_path ( true , {
68
68
NAME : "File" ,
69
69
VAL : "./a/b.c"
70
70
} , {
71
71
NAME : "File" ,
72
72
VAL : "xxxghsoghos/ghsoghso/node_modules/./buckle-stdlib/list.js"
73
73
} ) , "buckle-stdlib/list.js" ) ;
74
- eq ( "File \"a_filename_test.ml \", line 50 , characters 5-12" , Ext_filename_test . node_relative_path ( true , {
74
+ eq ( "File \"a_filename_test.res \", line 48 , characters 5-12" , Ext_filename_test . node_relative_path ( true , {
75
75
NAME : "File" ,
76
76
VAL : "./a/c.js"
77
77
} , {
78
78
NAME : "File" ,
79
79
VAL : "./a/b"
80
80
} ) , "./b" ) ;
81
- eq ( "File \"a_filename_test.ml \", line 55 , characters 5-12" , Ext_filename_test . node_relative_path ( true , {
81
+ eq ( "File \"a_filename_test.res \", line 49 , characters 5-12" , Ext_filename_test . node_relative_path ( true , {
82
82
NAME : "File" ,
83
83
VAL : "./a/c"
84
84
} , {
85
85
NAME : "File" ,
86
86
VAL : "./a/b.js"
87
87
} ) , "./b.js" ) ;
88
- eq ( "File \"a_filename_test.ml \", line 60 , characters 5-12" , Ext_filename_test . node_relative_path ( true , {
88
+ eq ( "File \"a_filename_test.res \", line 50 , characters 5-12" , Ext_filename_test . node_relative_path ( true , {
89
89
NAME : "Dir" ,
90
90
VAL : "./a/"
91
91
} , {
92
92
NAME : "File" ,
93
93
VAL : "./a/b.js"
94
94
} ) , "./b.js" ) ;
95
- eq ( "File \"a_filename_test.ml \", line 65 , characters 5-12" , Ext_filename_test . get_extension ( "a.txt" ) , ".txt" ) ;
96
- eq ( "File \"a_filename_test.ml \", line 69 , characters 5-12" , Ext_filename_test . get_extension ( "a" ) , "" ) ;
97
- eq ( "File \"a_filename_test.ml \", line 73 , characters 5-12" , Ext_filename_test . get_extension ( ".txt" ) , ".txt" ) ;
98
- eq ( "File \"a_filename_test.ml \", line 78 , characters 5-12 " , $$Array . map ( Ext_filename_test . normalize_absolute_path , [
95
+ eq ( "File \"a_filename_test.res \", line 51 , characters 5-12" , Ext_filename_test . get_extension ( "a.txt" ) , ".txt" ) ;
96
+ eq ( "File \"a_filename_test.res \", line 52 , characters 5-12" , Ext_filename_test . get_extension ( "a" ) , "" ) ;
97
+ eq ( "File \"a_filename_test.res \", line 53 , characters 5-12" , Ext_filename_test . get_extension ( ".txt" ) , ".txt" ) ;
98
+ eq ( "File \"a_filename_test.res \", line 56 , characters 4-11 " , $$Array . map ( Ext_filename_test . normalize_absolute_path , [
99
99
"/gsho/./.." ,
100
100
"/a/b/../c../d/e/f" ,
101
101
"/a/b/../c/../d/e/f" ,
0 commit comments