From 3362c7226c3ad349f7a92a3ced377a2ce2762f1b Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Thu, 12 Dec 2024 12:17:15 -0500 Subject: [PATCH] Add regression test for commit 356b562d75852dafb2ffc6b1122500a98fa7d9d0 --- tests/test.cmp | 7 +++++++ tests/test.rem | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/tests/test.cmp b/tests/test.cmp index b68ce9ef..0dc4f303 100644 --- a/tests/test.cmp +++ b/tests/test.cmp @@ -16225,6 +16225,13 @@ MSG $Is is [$Is]% $Is is is MSG $Was is [$Was]% $Was is was + +# Catch an error fixed in commit 356b562d75852dafb2ffc6b1122500a98fa7d9d0 +IF 1 + INCLUDE /non/existent/file/should/not/work/wookie +../tests/test.rem(1435): Can't open file: /non/existent/file/should/not/work/wookie +ENDIF + DEBUG -e Var hash: total = 100141; maxlen = 5; avglen = 1.142 Func hash: total = 100016; maxlen = 5; avglen = 1.140 diff --git a/tests/test.rem b/tests/test.rem index 86e8f918..b3334445 100644 --- a/tests/test.rem +++ b/tests/test.rem @@ -1429,6 +1429,12 @@ TRANSLATE "was" TRANSLATE DUMP MSG $Is is [$Is]% MSG $Was is [$Was]% + +# Catch an error fixed in commit 356b562d75852dafb2ffc6b1122500a98fa7d9d0 +IF 1 + INCLUDE /non/existent/file/should/not/work/wookie +ENDIF + DEBUG -e # Output expression-node stats