diff options
Diffstat (limited to 'emacs/tests/tests-basic.el')
-rw-r--r-- | emacs/tests/tests-basic.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/tests/tests-basic.el b/emacs/tests/tests-basic.el index 6b1458aac..73054742f 100644 --- a/emacs/tests/tests-basic.el +++ b/emacs/tests/tests-basic.el @@ -545,7 +545,7 @@ Next (regression-test-compare-expect-values "Test finding the hierarchy of sections in a file, ignoring lines." rest-get-hierarchy-ignore-tests - (lambda () (rest-get-hierarchy nil (rest-current-line))) nil)) + (lambda () (rest-get-hierarchy nil (line-number-at-pos))) nil)) |