From 6c9c0b957abd21df57f1885032847a721c3e859f Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Thu, 9 Mar 2023 00:05:14 -0600 Subject: [PATCH] Tests: Rename data2.org to data-file-tags.org It appears likely that we'll need a few test-specific data files, so we should use descriptive names. --- tests/{data2.org => data-file-tags.org} | 0 tests/test-org-ql.el | 18 +++++++++--------- 2 files changed, 9 insertions(+), 9 deletions(-) rename tests/{data2.org => data-file-tags.org} (100%) diff --git a/tests/data2.org b/tests/data-file-tags.org similarity index 100% rename from tests/data2.org rename to tests/data-file-tags.org diff --git a/tests/test-org-ql.el b/tests/test-org-ql.el index fbccd800..5210a7ce 100644 --- a/tests/test-org-ql.el +++ b/tests/test-org-ql.el @@ -1409,10 +1409,10 @@ with keyword arg NOW in PLIST." (org-ql-it "with file tags" (org-ql-expect ('(tags "food")) '("Fruit" "Blueberry" "Strawberry" "Vegetable" "Broccoli" "Potato") - :buffer (org-ql-test-data-buffer "data2.org")) + :buffer (org-ql-test-data-buffer "data-file-tags.org")) (org-ql-expect ('(tags "fruit")) '("Fruit" "Blueberry" "Strawberry") - :buffer (org-ql-test-data-buffer "data2.org")))) + :buffer (org-ql-test-data-buffer "data-file-tags.org")))) (describe "(tags-inherited)" @@ -1440,10 +1440,10 @@ with keyword arg NOW in PLIST." (org-ql-it "with file tags" (org-ql-expect ('(tags-inherited "food")) '("Fruit" "Blueberry" "Strawberry" "Vegetable" "Broccoli" "Potato") - :buffer (org-ql-test-data-buffer "data2.org")) + :buffer (org-ql-test-data-buffer "data-file-tags.org")) (org-ql-expect ('(tags-inherited "fruit")) '("Blueberry" "Strawberry") - :buffer (org-ql-test-data-buffer "data2.org")))) + :buffer (org-ql-test-data-buffer "data-file-tags.org")))) (describe "(tags-local)" @@ -1470,10 +1470,10 @@ with keyword arg NOW in PLIST." (org-ql-it "with file tags" (org-ql-expect ('(tags-local "food")) nil - :buffer (org-ql-test-data-buffer "data2.org")) + :buffer (org-ql-test-data-buffer "data-file-tags.org")) (org-ql-expect ('(tags-local "fruit")) '("Fruit") - :buffer (org-ql-test-data-buffer "data2.org")))) + :buffer (org-ql-test-data-buffer "data-file-tags.org")))) (describe "(tags-all), (tags&)" @@ -1486,7 +1486,7 @@ with keyword arg NOW in PLIST." (org-ql-it "with file tags" (org-ql-expect ('(tags-all "food" "fruit")) '("Fruit" "Blueberry" "Strawberry") - :buffer (org-ql-test-data-buffer "data2.org")))) + :buffer (org-ql-test-data-buffer "data-file-tags.org")))) (describe "(tags-regexp), (tags*)" @@ -1511,10 +1511,10 @@ with keyword arg NOW in PLIST." (org-ql-it "with regexp matching file tags" (org-ql-expect ('(tags-regexp "foo")) '("Fruit" "Blueberry" "Strawberry" "Vegetable" "Broccoli" "Potato") - :buffer (org-ql-test-data-buffer "data2.org")) + :buffer (org-ql-test-data-buffer "data-file-tags.org")) (org-ql-expect ('(tags* "frui")) '("Fruit" "Blueberry" "Strawberry") - :buffer (org-ql-test-data-buffer "data2.org")))) + :buffer (org-ql-test-data-buffer "data-file-tags.org")))) (describe "(ts)"