[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/urgrep e33a953b72 2/6: Use `accept-process-output` inst
From: |
ELPA Syncer |
Subject: |
[elpa] externals/urgrep e33a953b72 2/6: Use `accept-process-output` instead of `sit-for` |
Date: |
Wed, 7 Jun 2023 16:00:31 -0400 (EDT) |
branch: externals/urgrep
commit e33a953b724acb9093051befdcb748f10daea40a
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>
Use `accept-process-output` instead of `sit-for`
---
urgrep-tests.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/urgrep-tests.el b/urgrep-tests.el
index 975e3c6a98..867575baa0 100644
--- a/urgrep-tests.el
+++ b/urgrep-tests.el
@@ -575,7 +575,7 @@ joined to compare against COMMAND."
(ert-deftest urgrep-tests/urgrep/group ()
(switch-to-buffer (urgrep "urgrep"))
(while (get-buffer-process (current-buffer))
- (sit-for 0.01))
+ (accept-process-output))
(should (and (equal urgrep-current-tool (urgrep-get-tool))
(local-variable-p 'urgrep-current-tool)))
(should (and (equal urgrep-current-query '("urgrep"))
@@ -588,7 +588,7 @@ joined to compare against COMMAND."
(ert-deftest urgrep-tests/urgrep/no-group ()
(switch-to-buffer (urgrep "urgrep" :group nil))
(while (get-buffer-process (current-buffer))
- (sit-for 0.01))
+ (accept-process-output))
(should (and (equal urgrep-current-tool (urgrep-get-tool))
(local-variable-p 'urgrep-current-tool)))
(should (and (equal urgrep-current-query '("urgrep" :group nil))
@@ -600,7 +600,7 @@ joined to compare against COMMAND."
(ert-deftest urgrep-tests/urgrep-run-command ()
(switch-to-buffer (urgrep-run-command (urgrep-command "urgrep") nil nil))
(while (get-buffer-process (current-buffer))
- (sit-for 0.01))
+ (accept-process-output))
(should (and (equal urgrep-current-tool (urgrep-get-tool))
(local-variable-p 'urgrep-current-tool)))
(should (and (equal urgrep-current-query (urgrep-command "urgrep"))
- [elpa] externals/urgrep updated (243501d797 -> 48e02f2e41), ELPA Syncer, 2023/06/07
- [elpa] externals/urgrep f50f31d37d 3/6: Add tests for Eshell integration, ELPA Syncer, 2023/06/07
- [elpa] externals/urgrep 5284789367 4/6: Update NEWS, ELPA Syncer, 2023/06/07
- [elpa] externals/urgrep 48e02f2e41 6/6: Update version to 0.1.2-git, ELPA Syncer, 2023/06/07
- [elpa] externals/urgrep c63f893250 1/6: Allow running tests without compiling, ELPA Syncer, 2023/06/07
- [elpa] externals/urgrep 1924e175a5 5/6: Update version to v0.1.1, ELPA Syncer, 2023/06/07
- [elpa] externals/urgrep e33a953b72 2/6: Use `accept-process-output` instead of `sit-for`,
ELPA Syncer <=