[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/clojure-ts-mode 59f4cdc6cf 077/210: Add indentation tests
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/clojure-ts-mode 59f4cdc6cf 077/210: Add indentation tests for `specify` and `specify!` |
Date: |
Thu, 31 Oct 2024 18:59:42 -0400 (EDT) |
branch: elpa/clojure-ts-mode
commit 59f4cdc6cf59dac84ffe8c84011daa0ec2f0102d
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>
Add indentation tests for `specify` and `specify!`
---
clojure-mode-indentation-test.el | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/clojure-mode-indentation-test.el b/clojure-mode-indentation-test.el
index f8d1c8994d..566df29501 100644
--- a/clojure-mode-indentation-test.el
+++ b/clojure-mode-indentation-test.el
@@ -272,6 +272,24 @@ values of customisable variables."
[this]
\"Why is this over here?\"))")
+(def-full-indent-test specify
+ "(specify obj
+ ISwap
+ (-swap!
+ ([this f] (reset! this (f @this)))
+ ([this f a] (reset! this (f @this a)))
+ ([this f a b] (reset! this (f @this a b)))
+ ([this f a b xs] (reset! this (apply f @this a b xs)))))")
+
+(def-full-indent-test specify!
+ "(specify! obj
+ ISwap
+ (-swap!
+ ([this f] (reset! this (f @this)))
+ ([this f a] (reset! this (f @this a)))
+ ([this f a b] (reset! this (f @this a b)))
+ ([this f a b xs] (reset! this (apply f @this a b xs)))))")
+
(def-full-indent-test non-symbol-at-start
"{\"1\" 2
*3 4}")
- [nongnu] elpa/clojure-ts-mode a7609cffa1 052/210: [Fix #327] Indentation of a lonely close paren, (continued)
- [nongnu] elpa/clojure-ts-mode a7609cffa1 052/210: [Fix #327] Indentation of a lonely close paren, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode bf62b1bde0 049/210: [Fix #325] Fix indent for spliced reader conditionals, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 18fd667939 070/210: Make the ns regexp more permissive, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode ebf33a3a06 067/210: Add a test for namespaced default* symbols, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode a33c3e2dfd 065/210: Don't treat the symbol default as def* macro., ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode bff5ddc1b5 066/210: [Fix #344] Indentation for extend-type, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 077e3491bc 062/210: Improve clojure-find-def matching (support hyphens), ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 89f18b3c8e 071/210: Namespace font-locking according to clojure.lang.LispReader, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode e5b6783bac 048/210: [Fix clojure-emacs/cider#1323] Sexp navigation near end of buffer, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 1ddadceed8 076/210: Update the copyright years, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 59f4cdc6cf 077/210: Add indentation tests for `specify` and `specify!`,
ELPA Syncer <=
- [nongnu] elpa/clojure-ts-mode 221319742e 075/210: Implement alignment of binding forms and map literals, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 39262aeaf7 084/210: [#361] Add a regression test, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 0e671ec3f1 085/210: Add a test for %& font-locking, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 35062b412e 089/210: Make clojure-align cleanup commas, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode f196516d7f 087/210: Add a test for the previous fix, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 44beeb05ce 090/210: Fix a silly test, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 09abee8a6e 086/210: Add a test for proxy indentation, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 55b6fe7d94 092/210: Add tests for the escape char font-locking, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 8fa3e1f9da 097/210: Preserve previously removed line-breaks when unwinding, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 4599b47b58 104/210: Add indentation rule for definterface (#395), ELPA Syncer, 2024/10/31