guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] branch main updated: Test for out of range depth in flui


From: Daniel Llorens
Subject: [Guile-commits] branch main updated: Test for out of range depth in fluid-ref*
Date: Mon, 03 Oct 2022 06:22:05 -0400

This is an automated email from the git hooks/post-receive script.

lloda pushed a commit to branch main
in repository guile.

The following commit(s) were added to refs/heads/main by this push:
     new 584ba588e Test for out of range depth in fluid-ref*
584ba588e is described below

commit 584ba588e5ce833d952cdff1d4132db2da784735
Author: Daniel Llorens <lloda@sarc.name>
AuthorDate: Mon Oct 3 12:19:58 2022 +0200

    Test for out of range depth in fluid-ref*
    
    Test for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58154, which was
    fixed in c0004442b7691f59a0e37869ef288eb26382ad9e.
---
 test-suite/tests/fluids.test | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test-suite/tests/fluids.test b/test-suite/tests/fluids.test
index 949d50410..0fc8cbe16 100644
--- a/test-suite/tests/fluids.test
+++ b/test-suite/tests/fluids.test
@@ -140,6 +140,10 @@
     (gc)
     (fluid? (g))))
 
+(pass-if-exception "fluid-ref* depth must be nonnegative"
+    exception:out-of-range
+  (fluid-ref* (make-fluid) -1))
+
 (with-test-prefix "with-fluids"
 
   (pass-if "with-fluids binds"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]