testing/*: Inline result tests modified to follow current schema
commit90e18aed9c5de7419ca4cafb1a4c22a47c220a55
authorCharles Berry <ccberry@ucsd.edu>
Thu, 29 Jan 2015 20:05:31 +0000 (29 12:05 -0800)
committerCharles Berry <ccberry@ucsd.edu>
Thu, 29 Jan 2015 20:05:31 +0000 (29 12:05 -0800)
tree57572515864afb0e8faeb34c6d09a95d1e3fbfb3
parent85ff663ce4c7b096158f11a868a6c3ba1e849d0c
testing/*: Inline result tests modified to follow current schema

* test/examples/babel.org: Miscellaneous fixes for new inline src
block schema.  Return a scalar to avoid unwanted error.  Return a raw
result from `src_emacs-lisp' to make checking results cleaner than
dealing with `results' macro.

* testing/lisp/test-ob-exp.el: Wrap some expected results in
  `{{{results(' and ')}}}' and drop `=%s=' formatting of others.

* testing/lisp/test-ob-lob.el: Wrap some expected results in
   `{{{results(' and ')}}}'.

* testing/lisp/test-ob.el: Wrap some expected results in `{{{results('
  and ')}}}'.

* testing/lisp/test-ob.el
  (test-org-babel/org-babel-get-inline-src-block-matches,
  test-org-babel/inline-src_blk-results-silent): Tests of inline src
  block matches (and `org-ctrl-ctrl-c') conform to the `:begin' and
  `:end' properties of `org-element-context'.

* testing/lisp/test-ob.el
  (test-org-babel/inline-src_blk-default-results-replace-line-1,
  test-org-babel/inline-src_blk-default-results-replace-line-2):
  Inline results are self replacing.
testing/examples/babel.org
testing/lisp/test-ob-exp.el
testing/lisp/test-ob-lob.el
testing/lisp/test-ob.el