[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-4-gf5b2eea
From: |
Mark H Weaver |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-4-gf5b2eea |
Date: |
Sun, 14 Apr 2013 06:31:19 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=f5b2eea6a39507ecf6a8ecc62cc1c796c45c2d1d
The branch, stable-2.0 has been updated
via f5b2eea6a39507ecf6a8ecc62cc1c796c45c2d1d (commit)
from 3f315b64332a61535846dc87284e091bada747e5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f5b2eea6a39507ecf6a8ecc62cc1c796c45c2d1d
Author: Mark H Weaver <address@hidden>
Date: Sun Apr 14 02:29:25 2013 -0400
Using 'pass-if-equal' in coding.test.
* test-suite/tests/coding.test ("block comments", "line comments"):
Use 'pass-if-equal'.
-----------------------------------------------------------------------
Summary of changes:
test-suite/tests/coding.test | 112 +++++++++++++++++++++---------------------
1 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/test-suite/tests/coding.test b/test-suite/tests/coding.test
index 0a15d93..a8a415f 100644
--- a/test-suite/tests/coding.test
+++ b/test-suite/tests/coding.test
@@ -46,59 +46,59 @@
(with-test-prefix "block comments"
- (pass-if "first line"
- (equal? (scan-coding "#! coding: iso-8859-1 !#")
- "ISO-8859-1"))
-
- (pass-if "first line no whitespace"
- (equal? (scan-coding "#!coding:iso-8859-1!#")
- "ISO-8859-1"))
-
- (pass-if "second line"
- (equal? (scan-coding "#! \n coding: iso-8859-1 !#")
- "ISO-8859-1"))
-
- (pass-if "second line no whitespace"
- (equal? (scan-coding "#!\ncoding:iso-8859-1!#")
- "ISO-8859-1"))
-
- (pass-if "third line"
- (equal? (scan-coding "#! \n coding: iso-8859-1 \n !#")
- "ISO-8859-1"))
-
- (pass-if "third line no whitespace"
- (equal? (scan-coding "#!\ncoding:iso-8859-1\n!#")
- "ISO-8859-1")))
-
-(with-test-prefix "line comments"
- (pass-if "first line, no whitespace, no nl"
- (equal? (scan-coding ";coding:iso-8859-1")
- "ISO-8859-1"))
-
- (pass-if "first line, whitespace, no nl"
- (equal? (scan-coding "; coding: iso-8859-1 ")
- "ISO-8859-1"))
-
- (pass-if "first line, no whitespace, nl"
- (equal? (scan-coding ";coding:iso-8859-1\n")
- "ISO-8859-1"))
-
- (pass-if "first line, whitespace, nl"
- (equal? (scan-coding "; coding: iso-8859-1 \n")
- "ISO-8859-1"))
-
- (pass-if "second line, no whitespace, no nl"
- (equal? (scan-coding "\n;coding:iso-8859-1")
- "ISO-8859-1"))
-
- (pass-if "second line, whitespace, no nl"
- (equal? (scan-coding "\n; coding: iso-8859-1 ")
- "ISO-8859-1"))
-
- (pass-if "second line, no whitespace, nl"
- (equal? (scan-coding "\n;coding:iso-8859-1\n")
- "ISO-8859-1"))
-
- (pass-if "second line, whitespace, nl"
- (equal? (scan-coding "\n; coding: iso-8859-1 \n")
- "ISO-8859-1")))
+ (pass-if-equal "first line"
+ "ISO-8859-1"
+ (scan-coding "#! coding: iso-8859-1 !#"))
+
+ (pass-if-equal "first line no whitespace"
+ "ISO-8859-1"
+ (scan-coding "#!coding:iso-8859-1!#"))
+
+ (pass-if-equal "second line"
+ "ISO-8859-1"
+ (scan-coding "#! \n coding: iso-8859-1 !#"))
+
+ (pass-if-equal "second line no whitespace"
+ "ISO-8859-1"
+ (scan-coding "#!\ncoding:iso-8859-1!#"))
+
+ (pass-if-equal "third line"
+ "ISO-8859-1"
+ (scan-coding "#! \n coding: iso-8859-1 \n !#"))
+
+ (pass-if-equal "third line no whitespace"
+ "ISO-8859-1"
+ (scan-coding "#!\ncoding:iso-8859-1\n!#")))
+
+(with-test-prefix "line comment"
+ (pass-if-equal "first line, no whitespace, no nl"
+ "ISO-8859-1"
+ (scan-coding ";coding:iso-8859-1"))
+
+ (pass-if-equal "first line, whitespace, no nl"
+ "ISO-8859-1"
+ (scan-coding "; coding: iso-8859-1 "))
+
+ (pass-if-equal "first line, no whitespace, nl"
+ "ISO-8859-1"
+ (scan-coding ";coding:iso-8859-1\n"))
+
+ (pass-if-equal "first line, whitespace, nl"
+ "ISO-8859-1"
+ (scan-coding "; coding: iso-8859-1 \n"))
+
+ (pass-if-equal "second line, no whitespace, no nl"
+ "ISO-8859-1"
+ (scan-coding "\n;coding:iso-8859-1"))
+
+ (pass-if-equal "second line, whitespace, no nl"
+ "ISO-8859-1"
+ (scan-coding "\n; coding: iso-8859-1 "))
+
+ (pass-if-equal "second line, no whitespace, nl"
+ "ISO-8859-1"
+ (scan-coding "\n;coding:iso-8859-1\n"))
+
+ (pass-if-equal "second line, whitespace, nl"
+ "ISO-8859-1"
+ (scan-coding "\n; coding: iso-8859-1 \n")))
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-4-gf5b2eea,
Mark H Weaver <=