* ob-sed-test failure introduced by f38f83b4
@ 2016-07-11 20:30 Achim Gratz
0 siblings, 0 replies; only message in thread
From: Achim Gratz @ 2016-07-11 20:30 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-11 20:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-11 20:30 ob-sed-test failure introduced by f38f83b4 Achim Gratz
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).