Skip to content

Commit 971deb6

Browse files
committed
Fix test failed
1 parent 744d292 commit 971deb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_util.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import os
22
import shutil
3-
from clang_tools.util import check_os, download_file, unpack_file
3+
from clang_tools.util import check_install_os, download_file, unpack_file
44

55
TEST_REPO = "https://github.com/cpp-linter/cpp-linter-action"
66

7-
def test_check_os():
8-
system = check_os()
9-
assert system in ("linux", "windos", "macosx")
7+
def test_check_install_os():
8+
install_os = check_install_os()
9+
assert install_os in ("linux", "windos", "macosx")
1010

1111
def test_download_file():
1212
url = f"{TEST_REPO}/blob/master/README.md"

0 commit comments

Comments
 (0)