Index: openacs-4/packages/acs-templating/tcl/test/util-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/test/util-procs.tcl,v
diff -u -r1.1.2.5 -r1.1.2.6
--- openacs-4/packages/acs-templating/tcl/test/util-procs.tcl	31 Mar 2022 16:23:44 -0000	1.1.2.5
+++ openacs-4/packages/acs-templating/tcl/test/util-procs.tcl	29 Aug 2022 12:54:44 -0000	1.1.2.6
@@ -125,6 +125,29 @@
     }
 }
 
+aa_register_case -cats {
+    api
+    smoke
+    production_safe
+} -procs {
+    template::util::is_nil
+} util_is_nil {
+    Test template::util::is_nil
+} {
+    aa_true "'test' is nil?" [template::util::is_nil test]
+
+    set test 1
+    aa_false "'test' is nil?" [template::util::is_nil test]
+
+    set test ""
+    aa_true "'test' is nil?" [template::util::is_nil test]
+
+    unset test
+    array set test {}
+    aa_false "'test' is nil?" [template::util::is_nil test]
+}
+
+
 # Local variables:
 #    mode: tcl
 #    tcl-indent-level: 4