summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brand <michael.ch.brand@gmail.com>2016-06-25 17:06:12 +0200
committerMichael Brand <michael.ch.brand@gmail.com>2016-06-25 17:06:12 +0200
commit4b2aa43ce686186899c2bb122856266c2f125cb8 (patch)
tree734f0fe414e209bb4f6b2d6175060777bb6df80f
parente4baab8e1038c6c14bad718452bd638a4c8c9759 (diff)
downloadorg-mode-4b2aa43ce686186899c2bb122856266c2f125cb8.tar.gz
ERT: Spreadsheet references more sensitive
* testing/lisp/test-org-table.el: (test-org-table/org-table-convert-refs-to-an/1): (test-org-table/org-table-convert-refs-to-rc/1): Row and column number different.
-rw-r--r--testing/lisp/test-org-table.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/lisp/test-org-table.el b/testing/lisp/test-org-table.el
index ddf347c..323212f 100644
--- a/testing/lisp/test-org-table.el
+++ b/testing/lisp/test-org-table.el
@@ -877,9 +877,9 @@ See also http://orgmode.org/worg/org-tutorials/org-lookups.html ."
(should (equal "[0,1]" (f '( "inf" "1") nil t nil))))
(ert-deftest test-org-table/org-table-convert-refs-to-an/1 ()
- "Simple reference @1$1."
+ "Simple reference @2$1."
(should
- (string= "A1" (org-table-convert-refs-to-an "@1$1"))))
+ (string= "A2" (org-table-convert-refs-to-an "@2$1"))))
;; TODO: Test broken
;; (ert-deftest test-org-table/org-table-convert-refs-to-an/2 ()
@@ -893,9 +893,9 @@ See also http://orgmode.org/worg/org-tutorials/org-lookups.html ."
(string= "C& = remote(FOO, @@#B&)" (org-table-convert-refs-to-an "$3 = remote(FOO, @@#$2)"))))
(ert-deftest test-org-table/org-table-convert-refs-to-rc/1 ()
- "Simple reference @1$1."
+ "Simple reference @2$1."
(should
- (string= "@1$1" (org-table-convert-refs-to-rc "A1"))))
+ (string= "@2$1" (org-table-convert-refs-to-rc "A2"))))
(ert-deftest test-org-table/org-table-convert-refs-to-rc/2 ()
"Self reference $0."