[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 08/11: Update and-let-star.test
From: |
Andy Wingo |
Subject: |
[Guile-commits] 08/11: Update and-let-star.test |
Date: |
Tue, 21 Jun 2016 16:10:00 +0000 (UTC) |
wingo pushed a commit to branch stable-2.0
in repository guile.
commit 64039f3d129becefa906d6fbff22010c254c50fa
Author: Andy Wingo <address@hidden>
Date: Tue Jun 21 13:39:37 2016 +0200
Update and-let-star.test
* test-suite/tests/and-let-star.test ("and-let*"): Update test
expectations.
---
test-suite/tests/and-let-star.test | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test-suite/tests/and-let-star.test
b/test-suite/tests/and-let-star.test
index 150600c..12bf4d3 100644
--- a/test-suite/tests/and-let-star.test
+++ b/test-suite/tests/and-let-star.test
@@ -46,8 +46,8 @@
(with-test-prefix "one binding"
- (pass-if "no result expression (gives #t)"
- (and-let* ((x 123))))
+ (pass-if "no result expression (gives binding value)"
+ (equal? (and-let* ((x 123))) 123))
(pass-if "result expression"
(and-let* ((x 123))
@@ -64,8 +64,8 @@
(with-test-prefix "one test"
- (pass-if "no result expression (gives #t)"
- (and-let* (( 123))))
+ (pass-if "no result expression (gives test value)"
+ (equal? (and-let* (( 123))) 123))
(pass-if "result expression"
(and-let* (( 123))
- [Guile-commits] branch stable-2.0 updated (a192c33 -> dde0d17), Andy Wingo, 2016/06/21
- [Guile-commits] 04/11: Fix size measurement in bytevector_large_set, Andy Wingo, 2016/06/21
- [Guile-commits] 02/11: Add reference to the lack of "non-greedy" variants, Andy Wingo, 2016/06/21
- [Guile-commits] 06/11: Fix SRFI-2 (and-let*) implementation., Andy Wingo, 2016/06/21
- [Guile-commits] 07/11: Add SRFI-2 (and-let*) test suite., Andy Wingo, 2016/06/21
- [Guile-commits] 01/11: Remove link to Emacs' regexp syntax, Andy Wingo, 2016/06/21
- [Guile-commits] 09/11: Detect too-old libunistring at configure-time., Andy Wingo, 2016/06/21
- [Guile-commits] 10/11: Document pretty-print #:max-expr-width, Andy Wingo, 2016/06/21
- [Guile-commits] 11/11: Use source file permissions for compiled files, Andy Wingo, 2016/06/21
- [Guile-commits] 03/11: Fix uri-decode behavior for "+", Andy Wingo, 2016/06/21
- [Guile-commits] 08/11: Update and-let-star.test,
Andy Wingo <=
- [Guile-commits] 05/11: Document sigaction + SA_RESTART, Andy Wingo, 2016/06/21