From b31818296c811d100b1343a7380cffd6f390dacb Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Tue, 9 Jun 2026 11:57:08 -0400 Subject: [PATCH] add file function test for mod_include --- t/htdocs/modules/include/apexpr/restrict_func.shtml | 5 +++++ t/modules/include.t | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 t/htdocs/modules/include/apexpr/restrict_func.shtml diff --git a/t/htdocs/modules/include/apexpr/restrict_func.shtml b/t/htdocs/modules/include/apexpr/restrict_func.shtml new file mode 100644 index 00000000..31401606 --- /dev/null +++ b/t/htdocs/modules/include/apexpr/restrict_func.shtml @@ -0,0 +1,5 @@ + +IF_FUNC_TRUE + +IF_FUNC_FALSE + diff --git a/t/modules/include.t b/t/modules/include.t index c11f89f5..a4b1e80b 100644 --- a/t/modules/include.t +++ b/t/modules/include.t @@ -110,6 +110,8 @@ my %ap_expr_test = ( "directive]", "apexpr/restrict.shtml" => "[an error occurred while processing this ". "directive]", +"apexpr/restrict_func.shtml" => "[an error occurred while processing this ". + "directive]", "apexpr/var.shtml" => "pass pass pass", "apexpr/lazyvar.shtml" => "pass", );