emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: ob-sed-test failure introduced by f38f83b4
Date: Mon, 11 Jul 2016 22:30:46 +0200	[thread overview]
Message-ID: <87furfdiix.fsf@Rainer.invalid> (raw)


Two of the three ob-sed tests are failing after commit f38f83b4, but
only in batch mode.  It seems the final newline gets eaten somewhere,
leading to the string= howling in protest.  When I run the code in
question interactively, it works as expected (result shown in minibuffer
is a string _with_ the final newline).  I can't figure out why the
particular commit is having that effect, but it seems to have changed
some accidental setting that the sed tests were relying on.

--8<---------------cut here---------------start------------->8---
Test ob-sed-test/in-file-header-argument condition:
    (ert-test-failed
     ((should
       (string= "A tested file.
"
                (org-babel-execute-src-block)))
      :form
      (string= "A tested file.
" "A tested file.")
      :value nil))
   FAILED  2/3  ob-sed-test/in-file-header-argument
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
Test ob-sed-test/simple-execution-of-script condition:
    (ert-test-failed
     ((should
       (string= "A processed sentence.
"
                (org-babel-execute-src-block)))
      :form
      (string= "A processed sentence.
" "A processed sentence.")
      :value nil))
   FAILED  3/3  ob-sed-test/simple-execution-of-script
--8<---------------cut here---------------end--------------->8---


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

                 reply	other threads:[~2016-07-11 20:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87furfdiix.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).