File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 66
77def check_install_os () -> string :
88 os = platform .system ().lower ()
9+ if os == "darwin" :
10+ os = "macosx"
911 return os
1012
1113
Original file line number Diff line number Diff line change 22import shutil
33from clang_tools .util import check_install_os , download_file , unpack_file
44
5- TEST_REPO = "https://github.com/cpp-linter/cpp-linter-action "
5+ TEST_REPO = "https://github.com/shenxianpeng/clang-tools-pip "
66
77
88def test_check_install_os ():
@@ -20,10 +20,10 @@ def test_download_file():
2020
2121
2222def test_unpack_file ():
23- url = f"{ TEST_REPO } /archive/refs/tags/v1.4.4 .tar.gz"
23+ url = f"{ TEST_REPO } /archive/refs/tags/v0.1.0 .tar.gz"
2424 file_name = "test_file.tar.gz"
2525 download_file (url , file_name )
2626 status = unpack_file (file_name )
2727 assert status == 0
2828 os .remove (file_name )
29- shutil .rmtree ("cpp-linter-action-1.4.4 " )
29+ shutil .rmtree ("clang-tools-pip-0.1.0 " )
You can’t perform that action at this time.
0 commit comments