summaryrefslogtreecommitdiff
path: root/test/src/fns-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/fns-tests.el')
-rw-r--r--test/src/fns-tests.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el
index 3a43142106b..928fb15f109 100644
--- a/test/src/fns-tests.el
+++ b/test/src/fns-tests.el
@@ -1102,7 +1102,7 @@
(ert-deftest test-line-number-at-position ()
(with-temp-buffer
(insert (make-string 10 ?\n))
- (should (= (line-number-at-position (point)) 11))
- (should-error (line-number-at-position nil))
- (should-error (line-number-at-position -1))
- (should-error (line-number-at-position 100))))
+ (should (= (line-number-at-pos (point)) 11))
+ (should (= (line-number-at-pos nil) 11))
+ (should-error (line-number-at-pos -1))
+ (should-error (line-number-at-pos 100))))