Skip to content

Commit a237886

Browse files
Update test suite to use REFUTE(...) instead of ASSERT(NOT(...)).
1 parent 7c86461 commit a237886

13 files changed

Lines changed: 14 additions & 14 deletions

tests/cases/failing/export-declared-only-symbol.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77

88
INT: value
99
EXPORT(value, helper)

tests/cases/failing/export-deleted-symbol.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77

88
INT: value = 0d1
99
DEL(value)

tests/cases/failing/export-symbol-type-bool.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77
EXPORT(TRUE, helper)

tests/cases/failing/export-symbol-type-flt.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77
EXPORT(0d1.0, helper)

tests/cases/failing/export-symbol-type-func.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77
EXPORT(LAMBDA BOOL: (){}, helper)

tests/cases/failing/export-symbol-type-int.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77
EXPORT(0d1, helper)

tests/cases/failing/export-symbol-type-map.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77
EXPORT(<>, helper)

tests/cases/failing/export-symbol-type-str.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77
EXPORT("value", helper)

tests/cases/failing/export-symbol-type-thr.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77
EXPORT(ASYNC{}, helper)

tests/cases/failing/export-symbol-type-tns.pre

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ IMPORT(path)
33
STR: tests_dir = path.BASEPATH(path.BASEPATH(path.script_dir))
44
STR: helper_path = JOIN(tests_dir, "/helpers/export_target.pre")
55

6-
ASSERT(NOT(IMPORT_PATH(helper_path, helper)))
6+
REFUTE(IMPORT_PATH(helper_path, helper))
77
EXPORT([0d1], helper)

0 commit comments

Comments
 (0)