Skip to content

Commit 7feec57

Browse files
committed
add expander test
1 parent 2a8bc71 commit 7feec57

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_expander.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import unittest
44
from logging import Logger, basicConfig, getLogger
5-
from os import getenv, environ
5+
from os import getenv, environ, pathsep
66
from pathlib import Path
77
from shutil import copy
88
from subprocess import run
@@ -46,6 +46,9 @@ def test_env_value(self):
4646
env = environ.copy()
4747
env['CPLUS_INCLUDE_PATH'] = str(Path.cwd().resolve())
4848
self.compile_test(Path('test/expander/include_all.cpp'), env=env)
49+
env['CPLUS_INCLUDE_PATH'] = pathsep + \
50+
pathsep + str(Path.cwd().resolve()) + pathsep
51+
self.compile_test(Path('test/expander/include_all.cpp'), env=env)
4952

5053

5154
if __name__ == "__main__":

0 commit comments

Comments
 (0)