From 7db773fdb71b15353e9c15c908867d308b887a7b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 25 Jun 2026 17:19:39 +0100 Subject: lang: Raise &ccwl-violation when loading non-existent source files. --- tests/lang.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/lang.scm') 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 . (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") -- cgit 1.4.1