about summary refs log tree commit diff
path: root/tests/lang.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang.scm')
-rw-r--r--tests/lang.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lang.scm b/tests/lang.scm
index 247f2e1..d8a891b 100644
--- a/tests/lang.scm
+++ b/tests/lang.scm
@@ -17,6 +17,8 @@
 ;;; along with ccwl.  If not, see <https://www.gnu.org/licenses/>.
 
 (use-modules (srfi srfi-64)
+             (test-utils utils)
+             (ccwl conditions)
              (ccwl lang))
 
 (test-begin "lang")
@@ -24,4 +26,8 @@
 (test-assert "load source file referencing external CWL workflow relative to it"
   (ccwl-load "test-data/external-cwl-workflow.scm"))
 
+(test-condition "loading non-existent source file must raise a &ccwl-violation"
+  ccwl-violation?
+  (ccwl-load "/non-existent/file.scm"))
+
 (test-end "lang")