[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 192f9ae 391/405: Fix issues with test list st
From: |
Stefan Monnier |
Subject: |
[elpa] externals/phps-mode 192f9ae 391/405: Fix issues with test list structure |
Date: |
Sat, 13 Jul 2019 10:00:59 -0400 (EDT) |
branch: externals/phps-mode
commit 192f9ae4e7141038ced50ae128b64c822568b2d2
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
Fix issues with test list structure
---
phps-mode-test-functions.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/phps-mode-test-functions.el b/phps-mode-test-functions.el
index 2550c92..725b8ae 100644
--- a/phps-mode-test-functions.el
+++ b/phps-mode-test-functions.el
@@ -830,37 +830,37 @@
(phps-mode-test-with-buffer
"<?php\nclass myClass {\n public function myFunctionA() {}\n
protected function myFunctionB() {}\n}\n"
"Imenu object-oriented file"
- (should (equal (phps-mode-functions-get-imenu) '(("class myClass" . 13)
("myClass" ("myFunctionA" . 43) ("myFunctionB" . 83))))))
+ (should (equal (phps-mode-functions-get-imenu) '(("class myClass" . 13)
("myClass" . (("myFunctionA" . 43) ("myFunctionB" . 83)))))))
(phps-mode-test-with-buffer
"<?php\nnamespace myNamespace {\n class myClass {\n public
function myFunctionA() {}\n protected function myFunctionB() {}\n
}\n}\n"
"Imenu object-oriented file with namespace, class and function"
- (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" ("class myClass" . 41) ("myClass" ("myFunctionA" . 75)
("myFunctionB" . 119)))))))
+ (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" (("class myClass" . 41) ("myClass" . (("myFunctionA" . 75)
("myFunctionB" . 119)))))))))
(phps-mode-test-with-buffer
"<?php\nnamespace myNamespace;\nclass myClass {\n public function
myFunctionA() {}\n protected function myFunctionB() {}\n}\n"
"Imenu object-oriented file with bracket-less namespace, class and function"
- (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" ("class myClass" . 36) ("myClass" ("myFunctionA" . 66)
("myFunctionB" . 106)))))))
+ (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" . (("class myClass" . 36) ("myClass" . (("myFunctionA" . 66)
("myFunctionB" . 106)))))))))
(phps-mode-test-with-buffer
"<?php\nnamespace myNamespace {\n class myClass extends myAbstract {\n
public function myFunctionA() {}\n protected function myFunctionB()
{}\n }\n}\n"
"Imenu object-oriented file with namespace, class that extends and
functions"
- (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" ("class myClass" . 41) ("myClass" ("myFunctionA" . 94)
("myFunctionB" . 138)))))))
+ (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" . (("class myClass" . 41) ("myClass" . (("myFunctionA" . 94)
("myFunctionB" . 138)))))))))
(phps-mode-test-with-buffer
"<?php\nnamespace myNamespace;\nclass myClass extends myAbstract implements
myInterface {\n public function myFunctionA() {}\n protected function
myFunctionB() {}\n}\n"
"Imenu object-oriented file with bracket-less namespace, class that extends
and implements and functions"
- (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" ("class myClass" . 36) ("myClass" ("myFunctionA" . 108)
("myFunctionB" . 148)))))))
+ (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" . (("class myClass" . 36) ("myClass" . (("myFunctionA" .
108) ("myFunctionB" . 148)))))))))
(phps-mode-test-with-buffer
"<?php\nnamespace myNamespace;\nclass myClass extends myAbstract implements
myInterface {\n public function myFunctionA($myArg = null) {}\n protected
function myFunctionB($myArg = 'abc') {}\n}\n"
"Imenu object-oriented file with bracket-less namespace, class that extends
and implements and functions with optional arguments"
- (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" ("class myClass" . 36) ("myClass" ("myFunctionA" . 108)
("myFunctionB" . 161)))))))
+ (should (equal (phps-mode-functions-get-imenu) '(("namespace myNamespace" .
17) ("myNamespace" . (("class myClass" . 36) ("myClass" . (("myFunctionA" .
108) ("myFunctionB" . 161)))))))))
(phps-mode-test-with-buffer
"<?php\nnamespace myNamespace\\myNamespace2;\nclass myClass extends
myAbstract implements myInterface {\n public function myFunctionA($myArg =
null) {}\n protected function myFunctionB($myArg = 'abc') {}\n}\n"
"Imenu object-oriented file with bracket-less namespace with multiple
levels, class that extends and implements and functions with optional arguments"
- (should (equal (phps-mode-functions-get-imenu) '(("namespace
myNamespace\\myNamespace2" . 29) ("myNamespace\\myNamespace2" ("class myClass"
. 49) ("myClass" ("myFunctionA" . 121) ("myFunctionB" . 174)))))))
+ (should (equal (phps-mode-functions-get-imenu) '(("namespace
myNamespace\\myNamespace2" . 29) ("myNamespace\\myNamespace2" . (("class
myClass" 49) ("myClass" . (("myFunctionA" . 121) ("myFunctionB" . 174)))))))))
)
- [elpa] externals/phps-mode 3c959d3 404/405: Improved README, (continued)
- [elpa] externals/phps-mode 3c959d3 404/405: Improved README, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 895105d 384/405: Updated emacs version requirement and travis build, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode b7b778b 379/405: Updated Travis CI build script, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 3d3003f 364/405: Started on test for newline-and-indent before white-space, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 09a2123 372/405: Passes all tests for moving line-indent index, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode a4b2f37 375/405: Added new TODO item, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 7deefdc 383/405: Fixed use-package config example in README, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 65f79c8 397/405: Added map shortcuts for comment / uncomment region, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode dbd2825 389/405: Added unit test for multiple level namespaces and added support for it, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 5f52f54 395/405: Fixed compilation warning after new imenu structure, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 192f9ae 391/405: Fix issues with test list structure,
Stefan Monnier <=
- [elpa] externals/phps-mode 21f883e 396/405: Updated README and copyright date, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode f0912ee 398/405: Removed TODO and changed syntax color to be based on tokens only, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 47793f7 402/405: Updated README, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 2d2aaad 388/405: Added failing unit test, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode fa47a17 390/405: Changed imenu index to a hierarchical structure, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode d05601b 387/405: Updated documents, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 07d9176 403/405: Improved flycheck support, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 1d58896 400/405: Minimal mode map is now loaded, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 11e151a 382/405: Fixed linting issues in flycheck file, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 808f679 401/405: Moved TODO to separate doc and improved syntax coloring, Stefan Monnier, 2019/07/13