passing all tests
This commit is contained in:
parent
a85cadced8
commit
8360a676b9
|
@ -110,7 +110,7 @@ then create. Return the initialized session."
|
||||||
(let* ((session (if session (intern session) :default))
|
(let* ((session (if session (intern session) :default))
|
||||||
(sh-buffer (org-babel-sh-session-buffer session))
|
(sh-buffer (org-babel-sh-session-buffer session))
|
||||||
(newp (not (org-babel-comint-buffer-livep sh-buffer))))
|
(newp (not (org-babel-comint-buffer-livep sh-buffer))))
|
||||||
(if (and (get-buffer sh-buffer) (not (buffer-live-p sh-buffer)))
|
(if (and sh-buffer (get-buffer sh-buffer) (not (buffer-live-p sh-buffer)))
|
||||||
(setq sh-buffer nil))
|
(setq sh-buffer nil))
|
||||||
(shell sh-buffer)
|
(shell sh-buffer)
|
||||||
(when newp
|
(when newp
|
||||||
|
|
|
@ -2003,14 +2003,12 @@ as.matrix(tab[2,])
|
||||||
|
|
||||||
As an example eval the following. Adding a line to test
|
As an example eval the following. Adding a line to test
|
||||||
|
|
||||||
#+srcname: simple-ruby-array
|
#+tblname: simple-ruby-array
|
||||||
#+begin_src ruby :results silent
|
| 3 | 4 | 5 |
|
||||||
[3, 4, 5]
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+srcname: ruby-array-test
|
#+srcname: ruby-array-test
|
||||||
#+begin_src ruby :var ar = simple-ruby-array :results silent
|
#+begin_src ruby :var ar = simple-ruby-array :results silent
|
||||||
ar.first
|
ar.first.first
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** DONE space trailing language name
|
** DONE space trailing language name
|
||||||
|
@ -2104,6 +2102,7 @@ of these tests may fail.
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+------|
|
|-------------------------+----------------------------+-----+-------------+-------------+------|
|
||||||
| bugs and tasks | | | | | pass |
|
| bugs and tasks | | | | | pass |
|
||||||
|-------------------------+----------------------------+-----+-------------+-------------+------|
|
|-------------------------+----------------------------+-----+-------------+-------------+------|
|
||||||
|
| | | | | | pass |
|
||||||
| simple ruby arrays | ruby-array-test | | 3 | 3 | pass |
|
| simple ruby arrays | ruby-array-test | | 3 | 3 | pass |
|
||||||
| R number evaluation | bug-R-number-evaluation | | 2 | 2 | pass |
|
| R number evaluation | bug-R-number-evaluation | | 2 | 2 | pass |
|
||||||
| multi-line ruby blocks | multi-line-ruby-test | | 2 | 2 | pass |
|
| multi-line ruby blocks | multi-line-ruby-test | | 2 | 2 | pass |
|
||||||
|
|
Loading…
Reference in New Issue