Browse Source

Replace TBLNAME with NAME in tests

* testing/examples/ob-C-test.org:
* testing/examples/ob-fortran-test.org:
* testing/examples/ob-maxima-test.org:
* testing/lisp/test-ob-python.el (test-ob-python/colnames-yes-header-argument-again):
(test-ob-python/colnames-no-header-argument-again):
* testing/lisp/test-ob.el (test-ob/do-not-resolve-to-partial-names-data):
  Use NAME instead of TBLNAME.

TBLNAME is deprecated syntax since Org 8.
Nicolas Goaziou 9 years ago
parent
commit
9e8c968bff

+ 1 - 1
testing/examples/ob-C-test.org

@@ -117,7 +117,7 @@
   :ID:       e112bc2e-419a-4890-99c2-7ac4779531cc
   :END:
 
-#+tblname: tinomogen
+#+name: tinomogen
   | day       | quty |
   |-----------+------|
   | monday    |   34 |

+ 1 - 1
testing/examples/ob-fortran-test.org

@@ -42,7 +42,7 @@ Real array as input
 write (*, '(3f5.2)'), s
 #+end_src
 
-#+tblname: test_tbl
+#+name: test_tbl
 | 1.0 |
 | 2.0 |
 

+ 3 - 3
testing/examples/ob-maxima-test.org

@@ -45,11 +45,11 @@ print(a+1);
   :PROPERTIES:
   :ID:       400ee228-6b12-44fd-8097-7986f0f0db43
   :END:
-#+tblname: test_tbl_col
+#+name: test_tbl_col
 | 1.0 |
 | 2.0 |
 
-#+tblname: test_tbl_row
+#+name: test_tbl_row
 | 1.0 | 2.0 |
 
 #+begin_src maxima :var s=test_tbl_col :results silent :results verbatim
@@ -61,7 +61,7 @@ print(s+1.0);
 #+end_src
 
 Matrix
-#+tblname: test_tbl_mtr
+#+name: test_tbl_mtr
 | 1.0 | 1.0 |
 
 #+begin_src maxima :var s=test_tbl_mtr :results silent :results verbatim

+ 2 - 2
testing/lisp/test-ob-python.el

@@ -40,7 +40,7 @@ return x
 		   (org-babel-execute-src-block)))))
 
 (ert-deftest test-ob-python/colnames-yes-header-argument-again ()
-  (org-test-with-temp-text "#+tblname: less-cols
+  (org-test-with-temp-text "#+name: less-cols
 | a |
 |---|
 | b |
@@ -71,7 +71,7 @@ return x
 		   (org-babel-execute-src-block)))))
 
 (ert-deftest test-ob-python/colnames-no-header-argument-again ()
-  (org-test-with-temp-text "#+tblname: less-cols
+  (org-test-with-temp-text "#+name: less-cols
 | a |
 |---|
 | b |

+ 2 - 2
testing/lisp/test-ob.el

@@ -598,11 +598,11 @@ x
 
 (ert-deftest test-ob/do-not-resolve-to-partial-names-data ()
   (org-test-with-temp-text "
-#+tblname: base_plus
+#+name: base_plus
 | 1 |
 | 2 |
 
-#+tblname: base
+#+name: base
 | 3 |
 | 4 |