1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Nicholas D Steeves <sten@debian.org>
Date: Fri, 9 May 2025 07:44:50 -0400
Subject: Revert "try to fix test for debian"
Forwarded: No
"PKGBUILDDIR" only exists conceptually and in logs, so this commit did
not actually do anything.
This reverts commit a62eaa0b07d8d22f309ec07992283f0fc340ce17.
---
tests/ffip-tests.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/ffip-tests.el b/tests/ffip-tests.el
index 685dae9..0e073bd 100644
--- a/tests/ffip-tests.el
+++ b/tests/ffip-tests.el
@@ -140,9 +140,9 @@
(goto-char 5)
(should (file-exists-p (buffer-string)))
;; absolute path
- (should (not (string= "tests/git-diff.diff" (replace-regexp-in-string "/<<PKGBUILDDIR>>/" "" (buffer-string)))))
+ (should (not (string= "tests/git-diff.diff" (buffer-string))))
(ffip-fix-file-path-at-point)
;; relative path
- (should (string= "tests/git-diff.diff" (replace-regexp-in-string "/<<PKGBUILDDIR>>/" "" (buffer-string)))))))
+ (should (string= "tests/git-diff.diff" (buffer-string))))))
(ert-run-tests-batch-and-exit)
|