Skip to content

Instantly share code, notes, and snippets.

@syohex
Created September 13, 2016 08:21
Show Gist options
  • Save syohex/97aea146b88dc9006d5adbddc67da365 to your computer and use it in GitHub Desktop.
Save syohex/97aea146b88dc9006d5adbddc67da365 to your computer and use it in GitHub Desktop.
alchemist test log on Ubuntu 16.04 elixir-1.1.0
syohei@ubuntu64:~/.cpanm/latest-build/alchemist.el$ make test
Clean *.elc files:
rm -f *.elc
make unit
make[1]: Entering directory '/home/syohei/.cpanm/work/1473146396.37496/alchemist.el'
Run tests:
cask exec ert-runner
Elixir 1.1.0-dev
Test alchemist-company-test/module-alias-aware backtrace:
(if (unwind-protect (setq value-963 (apply fn-961 args-962)) (setq f
(let (form-description-965) (if (unwind-protect (setq value-963 (app
(let ((value-963 (quote ert-form-evaluation-aborted-964))) (let (for
(let ((fn-961 (function -same-items\?)) (args-962 (list (write-and-c
(lambda nil (let ((fn-961 (function -same-items\?)) (args-962 (list
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
ert-run-test([cl-struct-ert-test alchemist-company-test/module-alias
ert-run-or-rerun-test([cl-struct-ert--stats (and t) [[cl-struct-ert-
ert-run-tests((and t) (lambda (event-type &rest event-args) (cond ((
ert-runner/run-tests-batch((and t))
(let ((stats (ert-runner/run-tests-batch selector))) (kill-emacs (if
ert-runner/run-tests-batch-and-exit((and t))
(progn (fset (quote load) (function shut-up-load)) (fset (quote writ
(unwind-protect (progn (fset (quote load) (function shut-up-load)) (
(let* ((vnew (function (lambda (char) (shut-up-insert-to-buffer char
(unwind-protect (let* ((vnew (function (lambda (char) (shut-up-inser
(if shut-up-ignore (progn (ert-runner/run-tests-batch-and-exit ert-r
(let (--cl-shut-up-current-output--) (setq --cl-shut-up-current-outp
(let ((shut-up-sink (generate-new-buffer " *shutup*")) (inhibit-mess
(if ert-runner-verbose (ert-runner/run-tests-batch-and-exit ert-runn
(let ((test-files (ert-runner--test-files tests)) (test-helper (f-ex
ert-runner/run()
apply(ert-runner/run nil)
commander--handle-command(nil)
commander-parse(nil)
(if commander-parsing-done nil (commander-parse (or commander-args (
eval-buffer(#<buffer *load*> nil "/home/syohei/.cpanm/work/14731463
load-with-code-conversion("/home/syohei/.cpanm/work/1473146396.37496
load("/home/syohei/.cpanm/work/1473146396.37496/alchemist.el/.cask/2
command-line-1(("-scriptload" "/home/syohei/.cpanm/work/1473146396.3
command-line()
normal-top-level()
Test alchemist-company-test/module-alias-aware condition:
(ert-test-failed
((should
(-same-items\?
(write-and-complete-in-buffer "
defmodule Foo do
alias List, as: MyPersonalList
def bar do
MyPersonalList.key
end
end
" 88)
'...))
:form
(-same-items\?
(#("MyPersonalList.keydelete" 0 24 ...)
#("MyPersonalList.keyfind" 0 22 ...)
#("MyPersonalList.keymember?" 0 25 ...)
#("MyPersonalList.keyreplace" 0 25 ...)
#("MyPersonalList.keysort" 0 22 ...)
#("MyPersonalList.keystore" 0 23 ...))
("MyPersonalList.keydelete" "MyPersonalList.keyfind" "MyPersonalList.keymember?" "MyPersonalList.keyreplace" "MyPersonalList.keysort" "MyPersonalList.keystore" "MyPersonalList.keytake"))
:value nil))
F.................................................................................
Ran 82 tests in 22.406 seconds
1 unexpected results:
FAILED alchemist-company-test/module-alias-aware
Makefile:30: recipe for target 'unit' failed
make[1]: *** [unit] Error 1
make[1]: Leaving directory '/home/syohei/.cpanm/work/1473146396.37496/alchemist.el'
Makefile:23: recipe for target 'test' failed
make: *** [test] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment