diff --git a/.github/workflows/mac-test.yml b/.github/workflows/mac-test.yml index ed11050..6eb932f 100644 --- a/.github/workflows/mac-test.yml +++ b/.github/workflows/mac-test.yml @@ -44,5 +44,5 @@ jobs: run: | pytest env: - CPPYGEN_COMPILE_FLAGS: -nostdinc -isystem/usr/local/opt/llvm/bin/../include/c++/v1 -isystem/usr/local/Cellar/llvm/16.0.5/lib/clang/16/include -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include + CPPYGEN_COMPILE_FLAGS: -nostdinc -isystem/usr/local/opt/llvm/bin/../include/c++/v1 -isystem/usr/local/opt/llvm/lib/clang/17/include -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include CPPYGEN_LIBCLANG_PATH: /usr/local/opt/llvm/lib/libclang.dylib diff --git a/tests/test_components.py b/tests/test_components.py index dfdd242..7b4741f 100644 --- a/tests/test_components.py +++ b/tests/test_components.py @@ -1,5 +1,6 @@ from cppygen.function import Function from cppygen.submodule import Submodule +from cppygen.cppclass import CppClass def test_function(): @@ -88,7 +89,7 @@ def test_submod_compare(): def test_struct_or_class(): - soc = StructOrClass() + soc = CppClass() soc.set_name("class1", ["mod1", "mod2"]) soc.set_description("this is class 1")