Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
async-emacs: fix test
  • Loading branch information
dunn committed Aug 2, 2015
1 parent 0dd751c commit 7c37dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/async-emacs.rb
Expand Up @@ -25,10 +25,10 @@ def caveats; <<-EOS.undent

test do
(testpath/"test.el").write <<-EOS.undent
(add-to-list 'load-path "#{HOMEBREW_PREFIX}/share/emacs/site-lisp")
(add-to-list 'load-path "#{share}/emacs/site-lisp/async")
(load "async")
(print (minibuffer-prompt-width))
EOS
assert_equal "0", shell_output("emacs -batch -l #{testpath}/test.el").strip
assert_equal "0", shell_output("emacs -Q --batch -l #{testpath}/test.el").strip
end
end

0 comments on commit 7c37dce

Please sign in to comment.