mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 17:41:40 -05:00
Fix ein:notebook-execute-current-cell
"Hellow World" for eintest:kernel-fake-stream had unnecessary single quotes.
This commit is contained in:
parent
c0839fa795
commit
35c3e9bd7b
1 changed files with 2 additions and 2 deletions
|
@ -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))))))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue