diff options
author | Martyn Jago <martyn.jago@btinternet.com> | 2012-01-04 21:09:46 +0000 |
---|---|---|
committer | Eric Schulte <eric.schulte@gmx.com> | 2012-01-06 00:31:33 -0700 |
commit | d270cfcf74b557522711922873efcfa9587523f0 (patch) | |
tree | 616f31fb4dd811b9d2265c31d43c97de87bc88bc | |
parent | 3096cc3b614e37e7c9600257b969dedc47de6553 (diff) | |
download | org-mode-d270cfcf74b557522711922873efcfa9587523f0.tar.gz |
Fix to test-org-babel/org-babel-get-inline-src-block-matches. * testing/lisp/test-ob.el: Character position offset -=2 to account for removal of trailing spaces
-rw-r--r-- | testing/lisp/test-ob.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el index 2644ef1..e607c06 100644 --- a/testing/lisp/test-ob.el +++ b/testing/lisp/test-ob.el @@ -177,7 +177,7 @@ (let ((test-point (point))) (should (fboundp 'org-babel-get-inline-src-block-matches)) (should (re-search-forward "src_" nil t)) ;; 1 - (should (= (+ test-point 140) (match-end 0))) + (should (= (+ test-point 138) (match-end 0))) (should (org-babel-get-inline-src-block-matches)) (should (re-search-forward "}" nil (point-at-bol))) ;; 1 (should-not (org-babel-get-inline-src-block-matches)) |