diff options
| author | Kenichi Handa | 2014-06-28 10:35:48 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2014-06-28 10:35:48 +0900 |
| commit | f036e167feaf875873636972b28a4adc12c32254 (patch) | |
| tree | 440e45ae8951f7030393b130b184f2b1882070ee /test/automated/python-tests.el | |
| parent | 1fc00e5c9e87c88b4b253692d6ade822f6d74d3e (diff) | |
| parent | 2c4e2e6fd3096eb615504e3cfc89c588ec620f78 (diff) | |
| download | emacs-f036e167feaf875873636972b28a4adc12c32254.tar.gz emacs-f036e167feaf875873636972b28a4adc12c32254.zip | |
merge trunk
Diffstat (limited to 'test/automated/python-tests.el')
| -rw-r--r-- | test/automated/python-tests.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el index de963a670bc..f580e946b8f 100644 --- a/test/automated/python-tests.el +++ b/test/automated/python-tests.el | |||
| @@ -2706,6 +2706,15 @@ def foo(a, b, c): | |||
| 2706 | (equal (symbol-value (car ccons)) (cdr ccons))))) | 2706 | (equal (symbol-value (car ccons)) (cdr ccons))))) |
| 2707 | (kill-buffer buffer))) | 2707 | (kill-buffer buffer))) |
| 2708 | 2708 | ||
| 2709 | (ert-deftest python-util-strip-string-1 () | ||
| 2710 | (should (string= (python-util-strip-string "\t\r\n str") "str")) | ||
| 2711 | (should (string= (python-util-strip-string "str \n\r") "str")) | ||
| 2712 | (should (string= (python-util-strip-string "\t\r\n str \n\r ") "str")) | ||
| 2713 | (should | ||
| 2714 | (string= (python-util-strip-string "\n str \nin \tg \n\r") "str \nin \tg")) | ||
| 2715 | (should (string= (python-util-strip-string "\n \t \n\r ") "")) | ||
| 2716 | (should (string= (python-util-strip-string "") ""))) | ||
| 2717 | |||
| 2709 | 2718 | ||
| 2710 | ;;; Electricity | 2719 | ;;; Electricity |
| 2711 | 2720 | ||