Skip to content

Commit 854e700

Browse files
committed
Revert "try to fix test for debian"
"PKGBUILDDIR" only exists conceptually and in logs, so this commit did not actually do anything. This reverts commit a62eaa0.
1 parent f56292e commit 854e700

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" (replace-regexp-in-string "/<<PKGBUILDDIR>>/" "" (buffer-string)))))
143+
(should (not (string= "tests/git-diff.diff" (buffer-string))))
144144
(ffip-fix-file-path-at-point)
145145
;; relative path
146-
(should (string= "tests/git-diff.diff" (replace-regexp-in-string "/<<PKGBUILDDIR>>/" "" (buffer-string)))))))
146+
(should (string= "tests/git-diff.diff" (buffer-string))))))
147147

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

0 commit comments

Comments
 (0)