Skip to content

Commit a62eaa0

Browse files
author
Chen Bin
committed
try to fix test for debian
1 parent 1d2f0b3 commit a62eaa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ffip-tests.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@
140140
(goto-char 5)
141141
(should (file-exists-p (buffer-string)))
142142
;; absolute path
143-
(should (not (string= "tests/git-diff.diff" (buffer-string))))
143+
(should (not (string= "tests/git-diff.diff" (replace-regexp-in-string "/<<PKGBUILDDIR>>/" "" (buffer-string)))))
144144
(ffip-fix-file-path-at-point)
145145
;; relative path
146-
(should (string= "tests/git-diff.diff" (buffer-string))))))
146+
(should (string= "tests/git-diff.diff" (replace-regexp-in-string "/<<PKGBUILDDIR>>/" "" (buffer-string)))))))
147147

148148
(ert-run-tests-batch-and-exit)

0 commit comments

Comments
 (0)