From 35c3e9bd7b26fa9a8cf0e95f964c4ef55988a660 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sat, 16 Jun 2012 19:00:44 +0200 Subject: [PATCH] Fix ein:notebook-execute-current-cell "Hellow World" for eintest:kernel-fake-stream had unnecessary single quotes. --- tests/test-ein-notebook.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-ein-notebook.el b/tests/test-ein-notebook.el index 4bdd446..05fde5d 100644 --- a/tests/test-ein-notebook.el +++ b/tests/test-ein-notebook.el @@ -379,13 +379,13 @@ some text (should (= (oref cell :input-prompt-number) 1)) (should (eintest:search-forward-from "In [1]:" (point-min))) ;; Stream output - (eintest:kernel-fake-stream kernel msg-id "'Hello World'") + (eintest:kernel-fake-stream kernel msg-id "Hello World") (should (= (ein:cell-num-outputs cell) 1)) (save-excursion (goto-char (point-min)) (should (search-forward "In [1]:" nil t)) (should (search-forward "print 'Hello World'" nil t)) - (should (search-forward "Hello World" nil t)) ; stream output + (should (search-forward "\nHello World\n" nil t)) ; stream output (should-not (search-forward "Hello World" nil t))))))