Created
July 30, 2015 20:03
-
-
Save dunn/dd553af131a8251fd6f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask exec emacs -Q -batch -L . -L tests \ | |
-l tests/smartparens-test.el -f ert-run-tests-batch-and-exit | |
Warning: Lisp directory `/usr/local/Cellar/emacs/24.5/share/emacs/24.5/lisp/emacs-parallel': No such file or directory | |
Warning: Lisp directory `/usr/local/Cellar/emacs/24.5/share/emacs/24.5/lisp/emacs-parallel': No such file or directory | |
Running 45 tests (2015-07-30 13:02:53-0700) | |
passed 1/45 sp-test-basic-insertion | |
passed 2/45 sp-test-buffer-modified-sp-skip-closing-pair | |
passed 3/45 sp-test-command-backward-delete-char | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 4/45 sp-test-command-sp-backward-barf-sexp | |
passed 5/45 sp-test-command-sp-backward-sexp | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 6/45 sp-test-command-sp-backward-slurp-sexp | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 7/45 sp-test-command-sp-forward-barf-sexp | |
passed 8/45 sp-test-command-sp-forward-sexp | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region... done | |
Indenting region... | |
Indenting region... done | |
Indenting region... | |
Indenting region... done | |
passed 9/45 sp-test-command-sp-forward-slurp-sexp | |
passed 10/45 sp-test-command-sp-join-sexp | |
passed 11/45 sp-test-command-sp-kill-symbol | |
passed 12/45 sp-test-command-sp-kill-word | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 13/45 sp-test-command-sp-splice-sexp | |
passed 14/45 sp-test-command-sp-split-sexp | |
passed 15/45 sp-test-command-sp-up-sexp | |
passed 16/45 sp-test-get-paired-expression | |
passed 17/45 sp-test-get-paired-expression-backward | |
passed 18/45 sp-test-get-paired-expression-backward-fail | |
Test sp-test-get-paired-expression-elisp backtrace: | |
(if (unwind-protect (setq value-98506 (apply fn-98504 args-98505)) ( | |
(let (form-description-98508) (if (unwind-protect (setq value-98506 | |
(let ((value-98506 (quote ert-form-evaluation-aborted-98507))) (let | |
(let ((fn-98504 (function equal)) (args-98505 (list pair expected))) | |
(let ((pair (sp-get-paired-expression back))) (let ((fn-98504 (funct | |
(progn (insert string) (if back (progn (goto-char (point-max)) (let | |
(unwind-protect (progn (insert string) (if back (progn (goto-char (p | |
sp-test-paired-sexp(",@(foo)" (:beg 3 :end 8 :op "(" :cl ")" :prefix | |
(let ((it (car list))) (sp-test-paired-sexp (car it) (apply (quote s | |
(while list (let ((it (car list))) (sp-test-paired-sexp (car it) (ap | |
(let ((list sp-test-get-paired-expression-elisp) (it-index 0)) (whil | |
(let ((sp-pairs sp--test-basic-pairs) (emacs-lisp-mode-hook nil) (ch | |
(progn (let ((sp-pairs sp--test-basic-pairs) (emacs-lisp-mode-hook n | |
(unwind-protect (progn (let ((sp-pairs sp--test-basic-pairs) (emacs- | |
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn | |
(with-current-buffer temp-buffer (unwind-protect (progn (let ((sp-pa | |
(let ((temp-buffer (generate-new-buffer " *temp*"))) (with-current-b | |
(with-temp-buffer (let ((sp-pairs sp--test-basic-pairs) (emacs-lisp- | |
(sp-test-setup-paired-expression-env sp--test-basic-pairs emacs-lisp | |
(sp-test-setup-paired-expression-env-elisp (let ((list sp-test-get-p | |
(lambda nil (sp-test-setup-paired-expression-env-elisp (let ((list s | |
#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC | |
funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31 | |
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc | |
#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2 | |
funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\ | |
ert-run-test([cl-struct-ert-test sp-test-get-paired-expression-elisp | |
ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test s | |
ert-run-tests(t #[385 "\306\307\"\203D \211\211G\310U\203 \211@\20 | |
ert-run-tests-batch(nil) | |
ert-run-tests-batch-and-exit() | |
command-line-1(("-L" "." "-L" "tests" "-l" "tests/smartparens-test.e | |
command-line() | |
normal-top-level() | |
Test sp-test-get-paired-expression-elisp condition: | |
(ert-test-failed | |
((should | |
(equal pair expected)) | |
:form | |
(equal | |
(:beg 3 :end 8 :op "(" :cl ")" :prefix "" ...) | |
(:beg 3 :end 8 :op "(" :cl ")" :prefix ",@" ...)) | |
:value nil :explanation | |
(list-elt 9 | |
(arrays-of-different-length 0 2 "" ",@" first-mismatch-at 0)))) | |
FAILED 19/45 sp-test-get-paired-expression-elisp | |
Test sp-test-get-paired-expression-elisp-backward backtrace: | |
(if (unwind-protect (setq value-98506 (apply fn-98504 args-98505)) ( | |
(let (form-description-98508) (if (unwind-protect (setq value-98506 | |
(let ((value-98506 (quote ert-form-evaluation-aborted-98507))) (let | |
(let ((fn-98504 (function equal)) (args-98505 (list pair expected))) | |
(let ((pair (sp-get-paired-expression back))) (let ((fn-98504 (funct | |
(progn (insert string) (if back (progn (goto-char (point-max)) (let | |
(unwind-protect (progn (insert string) (if back (progn (goto-char (p | |
sp-test-paired-sexp(",@(foo)" (:beg 3 :end 8 :op "(" :cl ")" :prefix | |
(let ((it (car list))) (sp-test-paired-sexp (car it) (apply (quote s | |
(while list (let ((it (car list))) (sp-test-paired-sexp (car it) (ap | |
(let ((list sp-test-get-paired-expression-elisp) (it-index 0)) (whil | |
(let ((sp-pairs sp--test-basic-pairs) (emacs-lisp-mode-hook nil) (ch | |
(progn (let ((sp-pairs sp--test-basic-pairs) (emacs-lisp-mode-hook n | |
(unwind-protect (progn (let ((sp-pairs sp--test-basic-pairs) (emacs- | |
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn | |
(with-current-buffer temp-buffer (unwind-protect (progn (let ((sp-pa | |
(let ((temp-buffer (generate-new-buffer " *temp*"))) (with-current-b | |
(with-temp-buffer (let ((sp-pairs sp--test-basic-pairs) (emacs-lisp- | |
(sp-test-setup-paired-expression-env sp--test-basic-pairs emacs-lisp | |
(sp-test-setup-paired-expression-env-elisp (let ((list sp-test-get-p | |
(lambda nil (sp-test-setup-paired-expression-env-elisp (let ((list s | |
#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC | |
funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31 | |
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc | |
#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2 | |
funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\ | |
ert-run-test([cl-struct-ert-test sp-test-get-paired-expression-elisp | |
ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test s | |
ert-run-tests(t #[385 "\306\307\"\203D \211\211G\310U\203 \211@\20 | |
ert-run-tests-batch(nil) | |
ert-run-tests-batch-and-exit() | |
command-line-1(("-L" "." "-L" "tests" "-l" "tests/smartparens-test.e | |
command-line() | |
normal-top-level() | |
Test sp-test-get-paired-expression-elisp-backward condition: | |
(ert-test-failed | |
((should | |
(equal pair expected)) | |
:form | |
(equal | |
(:beg 3 :end 8 :op "(" :cl ")" :prefix "" ...) | |
(:beg 3 :end 8 :op "(" :cl ")" :prefix ",@" ...)) | |
:value nil :explanation | |
(list-elt 9 | |
(arrays-of-different-length 0 2 "" ",@" first-mismatch-at 0)))) | |
FAILED 20/45 sp-test-get-paired-expression-elisp-backward | |
passed 21/45 sp-test-get-paired-expression-elisp-backward-fail | |
passed 22/45 sp-test-get-paired-expression-elisp-fail | |
passed 23/45 sp-test-get-paired-expression-fail | |
passed 24/45 sp-test-get-paired-expression-ruby | |
passed 25/45 sp-test-get-paired-expression-ruby-backward | |
passed 26/45 sp-test-get-paired-expression-ruby-backward-fail | |
passed 27/45 sp-test-get-paired-expression-ruby-fail | |
passed 28/45 sp-test-get-stringlike-expression | |
passed 29/45 sp-test-get-stringlike-expression-backward | |
passed 30/45 sp-test-get-stringlike-expression-backward-fail | |
passed 31/45 sp-test-get-stringlike-expression-fail | |
passed 32/45 sp-test-get-stringlike-expression-latex | |
passed 33/45 sp-test-get-stringlike-expression-latex-backward | |
passed 34/45 sp-test-get-stringlike-expression-latex-backward-fail | |
passed 35/45 sp-test-get-stringlike-expression-latex-fail | |
passed 36/45 sp-test-insertion-specification-parser | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 37/45 sp-test-ruby-barf-backward | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 38/45 sp-test-ruby-barf-forward | |
Indenting region... | |
Indenting region...done | |
passed 39/45 sp-test-ruby-barf-with-inline-blocks | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Test sp-test-ruby-slurp-backward backtrace: | |
(while (> n 0) (goto-char (let ((struct enc)) (- (plist-get struct : | |
(if (sp--raw-argument-p arg) (progn (goto-char (let ((struct enc)) ( | |
(save-excursion (if (sp--raw-argument-p arg) (progn (goto-char (let | |
(progn (save-excursion (if (sp--raw-argument-p arg) (progn (goto-cha | |
(if enc (progn (save-excursion (if (sp--raw-argument-p arg) (progn ( | |
(let ((n (abs (prefix-numeric-value arg))) (enc (sp-get-enclosing-se | |
(if (> (prefix-numeric-value arg) 0) (let ((n (abs (prefix-numeric-v | |
sp-backward-slurp-sexp(5) | |
(if (> (prefix-numeric-value arg) 0) (let ((n (abs (prefix-numeric-v | |
sp-forward-slurp-sexp(-5) | |
(progn (ruby-mode) (smartparens-mode 1) (save-excursion (insert in)) | |
(unwind-protect (progn (ruby-mode) (smartparens-mode 1) (save-excurs | |
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn | |
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b | |
sp-ruby-test-slurp-assert(-5 "\ntest ? a : b\nbeginX\nend\n" :=> "\n | |
(lambda nil (sp-ruby-test-slurp-assert -1 "\nfoo.bar\nbegin X\nend\n | |
#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC | |
funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31 | |
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc | |
#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2 | |
funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\ | |
ert-run-test([cl-struct-ert-test sp-test-ruby-slurp-backward nil (la | |
ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test s | |
ert-run-tests(t #[385 "\306\307\"\203D \211\211G\310U\203 \211@\20 | |
ert-run-tests-batch(nil) | |
ert-run-tests-batch-and-exit() | |
command-line-1(("-L" "." "-L" "tests" "-l" "tests/smartparens-test.e | |
command-line() | |
normal-top-level() | |
Test sp-test-ruby-slurp-backward condition: | |
(wrong-type-argument number-or-marker-p nil) | |
FAILED 40/45 sp-test-ruby-slurp-backward | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Test sp-test-ruby-slurp-forward backtrace: | |
(while (> n 0) (goto-char (let ((struct enc)) (+ (plist-get struct : | |
(if (sp--raw-argument-p arg) (progn (goto-char (let ((struct enc)) ( | |
(save-excursion (if (sp--raw-argument-p arg) (progn (goto-char (let | |
(progn (save-excursion (if (sp--raw-argument-p arg) (progn (goto-cha | |
(if enc (progn (save-excursion (if (sp--raw-argument-p arg) (progn ( | |
(let ((n (abs (prefix-numeric-value arg))) (enc (sp-get-enclosing-se | |
(if (> (prefix-numeric-value arg) 0) (let ((n (abs (prefix-numeric-v | |
sp-forward-slurp-sexp(5) | |
(progn (ruby-mode) (smartparens-mode 1) (save-excursion (insert in)) | |
(unwind-protect (progn (ruby-mode) (smartparens-mode 1) (save-excurs | |
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn | |
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-b | |
sp-ruby-test-slurp-assert(5 "\nbeginX\nend\ntest ? a : b\n" :=> "\nb | |
(lambda nil (sp-ruby-test-slurp-assert 1 "\nif teXst\nend\nfoo\n" := | |
#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC | |
funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31 | |
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc | |
#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2 | |
funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\ | |
ert-run-test([cl-struct-ert-test sp-test-ruby-slurp-forward nil (lam | |
ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test s | |
ert-run-tests(t #[385 "\306\307\"\203D \211\211G\310U\203 \211@\20 | |
ert-run-tests-batch(nil) | |
ert-run-tests-batch-and-exit() | |
command-line-1(("-L" "." "-L" "tests" "-l" "tests/smartparens-test.e | |
command-line() | |
normal-top-level() | |
Test sp-test-ruby-slurp-forward condition: | |
(wrong-type-argument number-or-marker-p nil) | |
FAILED 41/45 sp-test-ruby-slurp-forward | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 42/45 sp-test-ruby-slurp-on-single-line | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 43/45 sp-test-ruby-slurp-with-inline-blocks | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
Indenting region... | |
Indenting region...done | |
passed 44/45 sp-test-ruby-splice | |
Can't guess python-indent-offset, using defaults: 4 | |
passed 45/45 sp-test-sp-autoescape-string-quote-if-empty | |
Ran 45 tests, 41 results as expected, 4 unexpected (2015-07-30 13:03:00-0700) | |
4 unexpected results: | |
FAILED sp-test-get-paired-expression-elisp | |
FAILED sp-test-get-paired-expression-elisp-backward | |
FAILED sp-test-ruby-slurp-backward | |
FAILED sp-test-ruby-slurp-forward | |
make: *** [unit-tests] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment