[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tomelr 4dda8e6be3 46/84: chore: Style edits in a test
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tomelr 4dda8e6be3 46/84: chore: Style edits in a test |
Date: |
Tue, 3 May 2022 09:58:11 -0400 (EDT) |
branch: externals/tomelr
commit 4dda8e6be3563a01b55ce494c7e300b75e0768a6
Author: Kaushal Modi <kaushal.modi@gmail.com>
Commit: Kaushal Modi <kaushal.modi@gmail.com>
chore: Style edits in a test
---
test/tarray.el | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/test/tarray.el b/test/tarray.el
index 604855613a..2669c7ac94 100644
--- a/test/tarray.el
+++ b/test/tarray.el
@@ -25,15 +25,19 @@
(require 'tomelr)
;;;; Simple arrays
-(ert-deftest test-array ()
- (let ((inp '(((integers . (1 2 3)))
+(ert-deftest test-basic-arrays ()
+ (let ((inp '(
+ ((integers . (1 2 3)))
((integers2 . [1 2 3])) ;Same as above
((colors . ("red" "yellow" "green")))
- ((numbers . (0.1 0.2 0.5 1 2 5))))) ;Mixed-type arrays are
allowed
- (ref '("integers = [ 1, 2, 3 ]"
+ ((numbers . (0.1 0.2 0.5 1 2 5))) ;Mixed-type arrays are allowed
+ ))
+ (ref '(
+ "integers = [ 1, 2, 3 ]"
"integers2 = [ 1, 2, 3 ]"
"colors = [ \"red\", \"yellow\", \"green\" ]"
- "numbers = [ 0.1, 0.2, 0.5, 1, 2, 5 ]"))
+ "numbers = [ 0.1, 0.2, 0.5, 1, 2, 5 ]"
+ ))
out)
(dolist (el inp)
(push (tomelr-encode el) out))
- [elpa] externals/tomelr 6bbe740e52 28/84: test: Test that 'false is also considered as boolean false in TOML, (continued)
- [elpa] externals/tomelr 6bbe740e52 28/84: test: Test that 'false is also considered as boolean false in TOML, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 9c91e0dc07 18/84: test: Add test for float scalar key-value pairs, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 96c890a68b 23/84: feat: Convert Lisp lists to TOML arrays, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr bb85106ee9 27/84: doc: Add spec for nested tables and arrays of tables, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 1d65064ffa 20/84: feat: Recognize local date format YYYY-MM-DD, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 2810504e84 32/84: feat: Add basic support for S-exp plists -> TOML conversion, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 0f4e7b4f2c 47/84: fix: Better detection of nested TTA, but still wip, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr cff1f8aa89 38/84: fix: Support TOML tables arrays specified as plist vector, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 4c419bcee2 37/84: fix: Support TOML tables specified as plists, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr baf81228bc 45/84: fix: Correct the spec for nested array of tables, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 4dda8e6be3 46/84: chore: Style edits in a test,
ELPA Syncer <=
- [elpa] externals/tomelr 5959b90ffa 44/84: fix: Don't let TOML tables be recognized as TOML tables arrays, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr b64eb07e99 49/84: fix: Detect TT with sub-tables correctly, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 4386d99a85 65/84: refactor(minor): Use `tomelr--toml-table-p`, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 26f1fc2f3c 55/84: doc: Update the medley example, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr e2b313ca3b 52/84: feat: Implement everything planned in the initial spec, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 4434ccc64b 70/84: chore: Bump version, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 10a1994aed 51/84: feat: Support (lightly tested) nested TOML Table Arrays, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr df0e73334f 59/84: Revert "doc: Update the medley example", ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr ec381fd723 79/84: fix: Auto-stringify and auto-quote symbol values, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr a25d952a17 77/84: feat: Auto-coerce string to integers, ELPA Syncer, 2022/05/03