Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: correct expectation for this test in batch-mode

  • Loading branch information...
commit f8366214801b52c7c1cc9c091fa5dcb42d3fd217 1 parent 1774d7c
@capitaomorte authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 yasnippet-tests.el
View
6 yasnippet-tests.el
@@ -198,6 +198,12 @@
(should (string= (yas--buffer-contents) "if condition\naaa\nelse\nbbb\nend")))))
(ert-deftest another-example-for-issue-271 ()
+ ;; expect this to fail in batch mode since `region-active-p' doesn't
+ ;; used by `yas-expand-snippet' doesn't make sense in that context.
+ ;;
+ :expected-result (if noninteractive
+ :failed
+ :passed)
(with-temp-buffer
(yas-minor-mode 1)
(let ((snippet "\\${${1:1}:`yas/selected-text`}"))

0 comments on commit f836621

Please sign in to comment.
Something went wrong with that request. Please try again.