branch: externals/phps-mode commit 2801604cb9e6a5f8fa98bd0d27ac0993f2ab4a64 Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
Added TODO item --- phps-mode-test-functions.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/phps-mode-test-functions.el b/phps-mode-test-functions.el index a084057..470a686 100644 --- a/phps-mode-test-functions.el +++ b/phps-mode-test-functions.el @@ -847,6 +847,16 @@ (should (equal buffer-contents "<?php\nnamespace myNamespace;\nclass myClass extends myAbstract implements myInterface {\n public function myFunctionA($myArg = null) {}\n protected function myFunctionB($myArg = 'abc') {}\n}\n")))) ) +;; TODO Add test for this: + ;; case 34: + ;; if ($item['IntegerValue'] % 10 == 0) { + ;; $attributes['boat']['Effekt (hk)'] = ($item['IntegerValue'] / 10); + ;; } else { + ;; $attributes['boat']['Effekt (hk)'] = + ;; number_format(($item['IntegerValue'] / 10), 1, '.', ''); + ;; } + ;; break; + (defun phps-mode-test-functions () "Run test for functions."