test-org-src.el: Fix a test.
commitc0675b478ed4bcdac16cf5349d035a141048cadc
authorBastien Guerry <bzg@altern.org>
Sat, 15 Dec 2012 07:04:43 +0000 (15 08:04 +0100)
committerBastien Guerry <bzg@altern.org>
Sat, 15 Dec 2012 07:04:43 +0000 (15 08:04 +0100)
tree08ad504430077f79ec5d88918bb4a8c82201e341
parent8f3b8ee44c9aad29bf0ccac59616567f9fba9eb8
test-org-src.el: Fix a test.

* lisp/test-org-src.el (test-org-src/blank-line-block): Use
`org-test-with-temp-text-in-file' because `org-in-src-block-p'
checks against an Org mode text property.  Don't check for the
word at point.

Thanks to Nick Dokos for reporting this failed test.
testing/lisp/test-org-src.el