summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-12-22 13:56:47 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-12-22 13:56:47 +0100
commit29fffbdd87391272e9131be63cf93f5067d6ae0d (patch)
tree46c1c5faf8b3029c82f6c4cabc570930a3d9ff4b /test
parent9bcb7326860ed8b234f8ffd8bceae866b968ff39 (diff)
downloademacs-29fffbdd87391272e9131be63cf93f5067d6ae0d.tar.gz
Revert field-related thingatpt changes
This reverts 7db376e560448e61485ba054def8c82b21f33d6a, which led to severe performance regressions when being run in large buffers with no fields (bug#52593)
Diffstat (limited to 'test')
-rw-r--r--test/lisp/thingatpt-tests.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/lisp/thingatpt-tests.el b/test/lisp/thingatpt-tests.el
index 2a32dc57b1c..dc108c77c5c 100644
--- a/test/lisp/thingatpt-tests.el
+++ b/test/lisp/thingatpt-tests.el
@@ -223,12 +223,4 @@ position to retrieve THING.")
(should (equal (test--number "0xf00" 2) 3840))
(should (equal (test--number "0xf00" 3) 3840)))
-(ert-deftest test-fields ()
- (with-temp-buffer
- (insert (propertize "foo" 'field 1) "bar" (propertize "zot" 'field 2))
- (goto-char 1)
- (should (eq (symbol-at-point) 'foo))
- (goto-char 5)
- (should (eq (symbol-at-point) 'bar))))
-
;;; thingatpt-tests.el ends here