File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,7 @@ main (int argc, char const *argv[])
109109 say (xy_win_powershellv5_profile );
110110 assert (xy_file_exist (xy_win_powershell_profile ));
111111 assert (true == xy_file_exist (xy_win_powershellv5_profile ));
112-
113112 assert (xy_dir_exist ("C:\\Users" ));
114- assert_str (xy_normalize_path ("C:\\a bc\\def\\" ), "C:\\a bc\\def\\" );
115- assert_str (xy_normalize_path ("a/b c/d" ), "a\\b c\\d" );
116- assert_str (xy_normalize_path ("a/b c/d/" ), "a\\b c\\d\\" );
117- assert_str (xy_parent_dir (xy_parent_dir (xy_normalize_path ("~/" ))), "C:\\Users" );
118113 }
119114 else
120115 {
@@ -127,8 +122,6 @@ main (int argc, char const *argv[])
127122 assert (xy_file_exist (xy_bashrc ));
128123 }
129124 assert (xy_dir_exist ("/etc" ));
130- assert_str (xy_normalize_path ("a\\b c\\d" ), "a/b c/d" );
131- assert_str (xy_normalize_path ("a\\b c\\d\\" ), "a/b c/d/" );
132125 }
133126
134127 println (xy_normalize_path (" \n ~/haha/test/123 \n\r " ));
You can’t perform that action at this time.
0 commit comments