[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 66d4352052 169/212: Added more failing indent
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 66d4352052 169/212: Added more failing indent tests |
Date: |
Wed, 26 Jan 2022 01:51:21 -0500 (EST) |
branch: externals/phps-mode
commit 66d43520527f0bebb9182a7fcbfce7836f74da95
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Added more failing indent tests
---
test/phps-mode-test-indent.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/test/phps-mode-test-indent.el b/test/phps-mode-test-indent.el
index d177e58c9c..e3d18a8643 100644
--- a/test/phps-mode-test-indent.el
+++ b/test/phps-mode-test-indent.el
@@ -400,6 +400,18 @@
"<?php\nif (true) {\n $replacements = array(\n
'$object_address_1' =>\n $object->get_shipping_address_1(),\n
'$object_address_2' =>\n $object->get_shipping_address_2(),\n
'$object_name' =>\n $object->get_shipping_first_name()\n
. ' ' . $object->get_shipping_last_name(),\n '$object_city' =>\n
$object->get_shipping_city(),\n '$object_company' =>\n
$object->get_shipping_company(),\n [...]
"Multi-dimensional array with assignment from object methods")
+ (phps-mode-test-indent--should-equal
+ "<?php\nif (true) {\n $true = (true\n && (true || false)\n
&& (true || false));\n echo 'here';\n}"
+ "Line after multi-line parenthesized logical expression")
+
+ (phps-mode-test-indent--should-equal
+ "<?php\nif (true) {\n echo 'here';\n/* something */\n echo
'there';\n}\n"
+ "Line after commented out lines with wrong indentation")
+
+ (phps-mode-test-indent--should-equal
+ "<?php\nif (true) {\n $variable1 = (true\n ? true\n :
false);\n\n $variable2 = (true\n ? true\n : false);\n\n
$variable3 = myFunction(true);\n echo 'here';\n\n}\n"
+ "Line after multi-line parenthesized logical expression in assignment")
+
)
(defun phps-mode-test-indent--get-lines-indent-psr-2 ()
- [elpa] externals/phps-mode a62e6be40e 133/212: Fixed indentation on line after print_r, (continued)
- [elpa] externals/phps-mode a62e6be40e 133/212: Fixed indentation on line after print_r, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 5391551287 143/212: Added a new indent test and made it pass, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode ffda8f1b5c 128/212: Added TODO item, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 2ef1168cb1 155/212: Added new failing indentation tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 519888fe79 150/212: Added another failing indent test, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 7ec071188a 137/212: Added more indent unit tests for nested function calls, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 837412c0e5 140/212: Improved indentation on lines starting with a closing bracket, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode cdbcd5ebe6 154/212: Added a new failing indent test and made it pass, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode c2a7af2a98 142/212: Updated copyright years, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 91fb5402cd 158/212: Added another failing indentation and made it pass, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 66d4352052 169/212: Added more failing indent tests,
Christian Johansson <=
- [elpa] externals/phps-mode 0ca0e447b8 167/212: Improved indentation on lines starting with a closing bracket, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 18221a85f0 177/212: Added failing parse test for multiple swith case conditions, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode a2c61b9e7c 174/212: Started refactoring of indentation functions, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode e15d602e46 179/212: More TODO items, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 22c4f31716 178/212: Added TODO items, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode c05d97fc31 182/212: Disabled debug-mode in this branch, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode d095e757e6 186/212: Added failing imenu test, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 2dc9280bcd 185/212: More work, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 87974abfcc 190/212: Improved indentation after lines containing => symbol, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode e049853a6f 193/212: Remove use of lex-analyzer from semantic and instead use custom, Christian Johansson, 2022/01/26