Skip to content

Commit 5ed64f9

Browse files
committed
tests: Include patterns folder as include path to support import * from X as Y
#426
1 parent a75a7a5 commit 5ed64f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/patterns/source/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ int main(int argc, char **argv) {
7272
}
7373

7474
runtime.setDangerousFunctionCallHandler([]{ return true; });
75-
runtime.setIncludePaths({ includePath });
75+
runtime.setIncludePaths({ includePath, patternFilePath.parent_path() });
7676
runtime.addPragma("MIME", DummyPragmaHandler);
7777
runtime.addPragma("description", DescPragmaHandler);
7878
runtime.addDefine("__PL_UNIT_TESTS__");

0 commit comments

Comments
 (0)