Browse Source

o-b-worg.org: simplify / clean up spreadsheet plugin example.

Dan Davison 16 years ago
parent
commit
8f8c976940
1 changed files with 2 additions and 3 deletions
  1. 2 3
      org-babel-worg.org

+ 2 - 3
org-babel-worg.org

@@ -469,12 +469,11 @@ Here's a sample of our test suite.
 | ruby             | basic-ruby   |     |   org-babel |   org-babel | pass |
 | python           | basic-python |     | hello world | hello world | pass |
 | R                | basic-R      |     |          13 |          13 | pass |
-#+TBLFM: $5='(if (= (length $3) 1) (progn (message (format "running %S" '(sbe $2 (n $3)))) (sbe $2 (n $3))) (sbe $2))::$6='(if (string= $4 $5) "pass" (format "expected %S but was %S" $4 $5))
-#+TBLFM: $5=""::$6=""
+#+TBLFM: $5='(if (= (length $3) 1) (sbe $2 (n $3)) (sbe $2)) :: $6='(if (string= $4 $5) "pass" (format "expected %S but was %S" $4 $5))
 
 *** code blocks for tests
 
-#+srcname: basic-elisp(n=7)
+#+srcname: basic-elisp(n)
 #+begin_src emacs-lisp
 (* 2 n)
 #+end_src