@@ -34,7 +34,7 @@ function test(param, param$1) {
3434}
3535
3636if ( 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 " , [
3838 Ext_filename_test . combine ( "/tmp" , "subdir/file.txt" ) ,
3939 Ext_filename_test . combine ( "/tmp" , "/a/tmp.txt" ) ,
4040 Ext_filename_test . combine ( "/a/tmp.txt" , "subdir/file.txt" )
@@ -43,59 +43,59 @@ if (process.platform !== "win32") {
4343 "/a/tmp.txt" ,
4444 "/a/tmp.txt/subdir/file.txt"
4545 ] ) ;
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 , {
4747 NAME : "File" ,
4848 VAL : "./a/b.c"
4949 } , {
5050 NAME : "File" ,
5151 VAL : "./a/u/g.c"
5252 } ) , "./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 , {
5454 NAME : "File" ,
5555 VAL : "./a/b.c"
5656 } , {
5757 NAME : "File" ,
5858 VAL : "xxxghsoghos/ghsoghso/node_modules/buckle-stdlib/list.js"
5959 } ) , "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 , {
6161 NAME : "File" ,
6262 VAL : "./a/b.c"
6363 } , {
6464 NAME : "File" ,
6565 VAL : "xxxghsoghos/ghsoghso/node_modules//buckle-stdlib/list.js"
6666 } ) , "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 , {
6868 NAME : "File" ,
6969 VAL : "./a/b.c"
7070 } , {
7171 NAME : "File" ,
7272 VAL : "xxxghsoghos/ghsoghso/node_modules/./buckle-stdlib/list.js"
7373 } ) , "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 , {
7575 NAME : "File" ,
7676 VAL : "./a/c.js"
7777 } , {
7878 NAME : "File" ,
7979 VAL : "./a/b"
8080 } ) , "./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 , {
8282 NAME : "File" ,
8383 VAL : "./a/c"
8484 } , {
8585 NAME : "File" ,
8686 VAL : "./a/b.js"
8787 } ) , "./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 , {
8989 NAME : "Dir" ,
9090 VAL : "./a/"
9191 } , {
9292 NAME : "File" ,
9393 VAL : "./a/b.js"
9494 } ) , "./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 , [
9999 "/gsho/./.." ,
100100 "/a/b/../c../d/e/f" ,
101101 "/a/b/../c/../d/e/f" ,
0 commit comments