mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-11 07:03:34 +08:00
fix pwsh path error (#250)
* add version * improve test actions * use XY_On_Windows --------- Co-authored-by: mikachu2333 <mikachu23333@zohomail.com>
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
* SPDX-License-Identifier: MIT
|
||||
* -------------------------------------------------------------
|
||||
* File Name : xy.c
|
||||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||
* Contributors : Nil Null <nil@null.org>
|
||||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||
* Contributors : Nil Null <nil@null.org>
|
||||
* | Mikachu2333 <mikachu.23333@zohomail.com>
|
||||
* |
|
||||
* Created On : <2023-08-30>
|
||||
* Last Modified : <2025-08-08>
|
||||
* Last Modified : <2025-08-11>
|
||||
*
|
||||
* Test xy.h
|
||||
* ------------------------------------------------------------*/
|
||||
@@ -97,6 +98,8 @@ main (int argc, char const *argv[])
|
||||
assert (xy_dir_exist ("~"));
|
||||
if (xy_on_windows)
|
||||
{
|
||||
say (xy_win_powershell_profile);
|
||||
say (xy_win_powershellv5_profile);
|
||||
assert (xy_file_exist (xy_win_powershell_profile));
|
||||
assert (true == xy_file_exist (xy_win_powershellv5_profile));
|
||||
assert (xy_dir_exist ("C:\\Users"));
|
||||
|
Reference in New Issue
Block a user