Explorar o código

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

Martyn Jago %!s(int64=13) %!d(string=hai) anos
pai
achega
d270cfcf74
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      testing/lisp/test-ob.el

+ 1 - 1
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))