[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ea7a184 42/46: tiny-test.el (tiny-mapconcat): Add test.
From: |
Oleh Krehel |
Subject: |
[elpa] master ea7a184 42/46: tiny-test.el (tiny-mapconcat): Add test. |
Date: |
Sun, 22 Mar 2015 17:42:39 +0000 |
branch: master
commit ea7a1847baaf3609ff684f0668cd8951891dbb84
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
tiny-test.el (tiny-mapconcat): Add test.
---
tiny-test.el | 30 +++++++++++++++++++++++++++++-
1 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/tiny-test.el b/tiny-test.el
index e6cbf0f..0836e6d 100644
--- a/tiny-test.el
+++ b/tiny-test.el
@@ -161,7 +161,35 @@ SCHEDULED: <2015-11-05 Thu> DEADLINE: <2015-11-13 Fri>
SCHEDULED: <2015-11-12 Thu> DEADLINE: <2015-11-20 Fri>"))
(should (string= (with-text-value "m7|%(expt 2 x)"
(lambda()(eval (read (tiny-mapconcat)))))
- "1 2 4 8 16 32 64 128")))
+ "1 2 4 8 16 32 64 128"))
+ (should (string= (with-text-value "m\\n25+?ax|(\"%c\")"
+ (lambda()(eval (read (tiny-mapconcat)))))
+ "(\"a\")
+(\"b\")
+(\"c\")
+(\"d\")
+(\"e\")
+(\"f\")
+(\"g\")
+(\"h\")
+(\"i\")
+(\"j\")
+(\"k\")
+(\"l\")
+(\"m\")
+(\"n\")
+(\"o\")
+(\"p\")
+(\"q\")
+(\"r\")
+(\"s\")
+(\"t\")
+(\"u\")
+(\"v\")
+(\"w\")
+(\"x\")
+(\"y\")
+(\"z\")")))
(ert-deftest tiny-replace-this-sexp ()
(should (equal (with-text-value "(mapcar (lambda (x) (* x x)) '(1 2 3))"
- [elpa] master 08ba593 24/46: tiny.el: fixed `tiny-tokenize', (continued)
- [elpa] master 08ba593 24/46: tiny.el: fixed `tiny-tokenize', Oleh Krehel, 2015/03/22
- [elpa] master e6abbc6 31/46: tiny.el (tiny-date): renamed from t-date. In format string it's just "date", Oleh Krehel, 2015/03/22
- [elpa] master c59bc94 36/46: tiny.el (tiny-extract-sexps): add missing let binding, Oleh Krehel, 2015/03/22
- [elpa] master cf74dd1 34/46: tiny.el: fix docs, Oleh Krehel, 2015/03/22
- [elpa] master b843226 26/46: tiny.el: removed `tiny-replace-sexp-desperately', Oleh Krehel, 2015/03/22
- [elpa] master 7893a02 35/46: tiny.el: add autoload to `tiny-expand', Oleh Krehel, 2015/03/22
- [elpa] master 075e4d0 33/46: Fix "m10|%0.2f", Oleh Krehel, 2015/03/22
- [elpa] master 4eef4e6 37/46: tiny.el: add a test case, Oleh Krehel, 2015/03/22
- [elpa] master 3a56283 38/46: tiny.el (tiny-mapconcat-parse): case-sensitive, Oleh Krehel, 2015/03/22
- [elpa] master dea7748 39/46: tiny.el (tiny-date): improve, Oleh Krehel, 2015/03/22
- [elpa] master ea7a184 42/46: tiny-test.el (tiny-mapconcat): Add test.,
Oleh Krehel <=
- [elpa] master d37646a 41/46: Add Travis CI testing and Coveralls.io reporting, Oleh Krehel, 2015/03/22
- [elpa] master fe0bade 43/46: tiny-test.el: Update, Oleh Krehel, 2015/03/22
- [elpa] master 5f25ce1 40/46: tiny.el: handle quotes in FMT part, Oleh Krehel, 2015/03/22
- [elpa] master fa90c2f 44/46: README.md: Add badges, Oleh Krehel, 2015/03/22
- [elpa] master 6719ab2 32/46: README.md: updated., Oleh Krehel, 2015/03/22
- [elpa] master 159c3f7 45/46: tiny.el: Update Copyright, Oleh Krehel, 2015/03/22
- [elpa] master 3f035ad 46/46: Add 'packages/tiny/' from commit '159c3f74e75970808b83fe4b732f180cb76872a3', Oleh Krehel, 2015/03/22