|
@@ -4922,7 +4922,20 @@ Paragraph<point>"
|
|
|
(equal '("A")
|
|
|
(org-test-with-temp-text
|
|
|
"* a\n:PROPERTIES:\n:A: 1\n:END:\n* b\n:PROPERTIES:\nsome junk here\n:END:\n"
|
|
|
- (org-buffer-property-keys nil nil nil t)))))
|
|
|
+ (org-buffer-property-keys nil nil nil t))))
|
|
|
+ ;; In COLUMNS, ignore label title and summary-type.
|
|
|
+ (should
|
|
|
+ (equal '("A")
|
|
|
+ (org-test-with-temp-text "#+COLUMNS: %A(Foo)"
|
|
|
+ (org-buffer-property-keys nil nil t))))
|
|
|
+ (should
|
|
|
+ (equal '("A")
|
|
|
+ (org-test-with-temp-text "#+COLUMNS: %A{Foo}"
|
|
|
+ (org-buffer-property-keys nil nil t))))
|
|
|
+ (should
|
|
|
+ (equal '("A")
|
|
|
+ (org-test-with-temp-text "#+COLUMNS: %A(Foo){Bar}"
|
|
|
+ (org-buffer-property-keys nil nil t)))))
|
|
|
|
|
|
(ert-deftest test-org/property-values ()
|
|
|
"Test `org-property-values' specifications."
|