Skip to content

Commit 63d8501

Browse files
Add tests for IMPORT_PATH.
1 parent e53d153 commit 63d8501

34 files changed

Lines changed: 267 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IMPORT(path)
2+
3+
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
4+
STR: helper_path = JOIN(tests_dir, "/helpers/import_path_basic_target.pre")
5+
6+
IMPORT_PATH(helper_path, TRUE)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IMPORT(path)
2+
3+
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
4+
STR: helper_path = JOIN(tests_dir, "/helpers/import_path_basic_target.pre")
5+
6+
IMPORT_PATH(helper_path, 0d1.0)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IMPORT(path)
2+
3+
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
4+
STR: helper_path = JOIN(tests_dir, "/helpers/import_path_basic_target.pre")
5+
6+
IMPORT_PATH(helper_path, LAMBDA BOOL: (){})
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IMPORT(path)
2+
3+
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
4+
STR: helper_path = JOIN(tests_dir, "/helpers/import_path_basic_target.pre")
5+
6+
IMPORT_PATH(helper_path, 0d1)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IMPORT(path)
2+
3+
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
4+
STR: helper_path = JOIN(tests_dir, "/helpers/import_path_basic_target.pre")
5+
6+
IMPORT_PATH(helper_path, <>)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IMPORT(path)
2+
3+
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
4+
STR: helper_path = JOIN(tests_dir, "/helpers/import_path_basic_target.pre")
5+
6+
IMPORT_PATH(helper_path, "helper")
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IMPORT(path)
2+
3+
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
4+
STR: helper_path = JOIN(tests_dir, "/helpers/import_path_basic_target.pre")
5+
6+
IMPORT_PATH(helper_path, ASYNC{})
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IMPORT(path)
2+
3+
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
4+
STR: helper_path = JOIN(tests_dir, "/helpers/import_path_basic_target.pre")
5+
6+
IMPORT_PATH(helper_path, [0d1])
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
IMPORT_PATH("g:/missing.pre", helper, extra)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
IMPORT_PATH()

0 commit comments

Comments
 (0)