[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy 77f0a1d 070/133: Byte-compilation working fo
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy 77f0a1d 070/133: Byte-compilation working for unit test without warning |
Date: |
Sat, 27 Mar 2021 14:48:46 -0400 (EDT) |
branch: externals/ssh-deploy
commit 77f0a1daa441f50aa8603450419b12f5d19b992d
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Byte-compilation working for unit test without warning
---
ssh-deploy-test.el | 33 +++++++++++++++++++++------------
1 file changed, 21 insertions(+), 12 deletions(-)
diff --git a/ssh-deploy-test.el b/ssh-deploy-test.el
index 8c96b39..a1a9dc0 100644
--- a/ssh-deploy-test.el
+++ b/ssh-deploy-test.el
@@ -29,12 +29,19 @@
(autoload 'should "ert")
+(autoload 'ediff-same-file-contents "ediff-util")
+
(autoload 'ssh-deploy-diff-mode "ssh-deploy-diff-mode")
(autoload 'ssh-deploy "ssh-deploy")
(autoload 'ssh-deploy--get-revision-path "ssh-deploy")
(autoload 'ssh-deploy--file-is-in-path-p "ssh-deploy")
(autoload 'ssh-deploy--is-not-empty-string-p "ssh-deploy")
+(autoload 'ssh-deploy-download "ssh-deploy")
+(autoload 'ssh-deploy-upload "ssh-deploy")
+(autoload 'ssh-deploy-add-after-save-hook "ssh-deploy")
+(autoload 'ssh-deploy-add-after-save-hook "ssh-deploy")
+(autoload 'ssh-deploy-upload-handler "ssh-deploy")
(defun ssh-deploy-test--download ()
"Test downloads."
@@ -134,23 +141,25 @@
;; Turn of automatic uploads
(let ((ssh-deploy-on-explicit-save 0))
+ ;; Bypass linter again
+ (when ssh-deploy-on-explicit-save
- ;; Update should not trigger upload
- (insert file-a-contents)
- (save-buffer)
+ ;; Update should not trigger upload
+ (insert file-a-contents)
+ (save-buffer)
- ;; Verify that both files have equal contents
- (should (equal nil (ediff-same-file-contents file-a file-b)))
+ ;; Verify that both files have equal contents
+ (should (equal nil (ediff-same-file-contents file-a file-b)))
- (ssh-deploy-upload-handler)
- (kill-buffer)
+ (ssh-deploy-upload-handler)
+ (kill-buffer)
- ;; Verify that both files have equal contents
- (should (equal t (ediff-same-file-contents file-a file-b)))
+ ;; Verify that both files have equal contents
+ (should (equal t (ediff-same-file-contents file-a file-b)))
- ;; Delete both test files
- (delete-file file-b)
- (delete-file file-a))))
+ ;; Delete both test files
+ (delete-file file-b)
+ (delete-file file-a)))))
(delete-directory directory-a t)
(delete-directory directory-b t)))
- [elpa] externals/ssh-deploy 009e9f8 113/133: Added mode-line status for checking file difference, (continued)
- [elpa] externals/ssh-deploy 009e9f8 113/133: Added mode-line status for checking file difference, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 016444c 122/133: Fixed bug with directory difference from deployment root or piped remote files, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy f910a4d 115/133: Passing verbose flag to remote changes handler, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy d924c73 124/133: Merge pull request #60 from ShuguangSun/master, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy a6629c1 130/133: Update ssh-deploy.el, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 1bb2f82 129/133: Added support for forced uploads on explicit save actions, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy cc91b56 132/133: Updated README and version, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e73907d 063/133: Changed test command, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 4c3eee5 059/133: Fixed issue were checking verbose variable was expecting boolean instead of integer, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy a57ae0c 061/133: Updated use-package example to work with byte-compiled code, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 77f0a1d 070/133: Byte-compilation working for unit test without warning,
Stefan Monnier <=
- [elpa] externals/ssh-deploy 54f664b 081/133: Added unit tests for async.el if it's loaded, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e4d1403 086/133: Added async.el autoload for new change detection and pushed version, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 65d58c3 106/133: Added unit test for directory difference, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 7ad73a4 103/133: Unit test for directory difference passing, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 8f358b1 102/133: Started on unit test for directory differences, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e2db9c7 117/133: Fixed unit test for directory differences where directories are symbolic, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy ded455b 126/133: More idiomatic code for status updates, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e10221e 127/133: Using (string-prefix-p) instead of (string-match) for checking if path is in root, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy fce4ea3 133/133: Merge remote-tracking branch 'upstream/ssh-deploy/main' into externals/ssh-deploy, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 5b263c1 045/133: Some changes from ELPA merged, Stefan Monnier, 2021/03/27