summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-02-04 00:06:08 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-02-10 15:40:11 +0100
commit9e8c968bff3b2bc7ef561c214f652a3e84a9893e (patch)
treeca56367a98801e311c3497ef8258938c3f761128
parent3d285691303ebdd6647360ff4c0a41212ca123f0 (diff)
downloadorg-mode-9e8c968bff3b2bc7ef561c214f652a3e84a9893e.tar.gz
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.
-rw-r--r--testing/examples/ob-C-test.org2
-rw-r--r--testing/examples/ob-fortran-test.org2
-rw-r--r--testing/examples/ob-maxima-test.org6
-rw-r--r--testing/lisp/test-ob-python.el4
-rw-r--r--testing/lisp/test-ob.el4
5 files changed, 9 insertions, 9 deletions
diff --git a/testing/examples/ob-C-test.org b/testing/examples/ob-C-test.org
index dcd1c48..0faf630 100644
--- a/testing/examples/ob-C-test.org
+++ b/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 |
diff --git a/testing/examples/ob-fortran-test.org b/testing/examples/ob-fortran-test.org
index 530d15e..8aa047f 100644
--- a/testing/examples/ob-fortran-test.org
+++ b/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 |
diff --git a/testing/examples/ob-maxima-test.org b/testing/examples/ob-maxima-test.org
index 244f018..6b273ce 100644
--- a/testing/examples/ob-maxima-test.org
+++ b/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
diff --git a/testing/lisp/test-ob-python.el b/testing/lisp/test-ob-python.el
index a3cae8c..d9fca22 100644
--- a/testing/lisp/test-ob-python.el
+++ b/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 |
diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el
index 0ccabbf..38daf8e 100644
--- a/testing/lisp/test-ob.el
+++ b/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 |