There was an error while loading. Please reload this page.
1 parent f56292e commit 854e700Copy full SHA for 854e700
tests/ffip-tests.el
@@ -140,9 +140,9 @@
140
(goto-char 5)
141
(should (file-exists-p (buffer-string)))
142
;; absolute path
143
- (should (not (string= "tests/git-diff.diff" (replace-regexp-in-string "/<<PKGBUILDDIR>>/" "" (buffer-string)))))
+ (should (not (string= "tests/git-diff.diff" (buffer-string))))
144
(ffip-fix-file-path-at-point)
145
;; relative path
146
- (should (string= "tests/git-diff.diff" (replace-regexp-in-string "/<<PKGBUILDDIR>>/" "" (buffer-string)))))))
+ (should (string= "tests/git-diff.diff" (buffer-string))))))
147
148
(ert-run-tests-batch-and-exit)
0 commit comments