test 0.2.7a
This commit is contained in:
+6
-2
@@ -39,8 +39,12 @@
|
||||
(collect-garbage)
|
||||
(collect-garbage)
|
||||
(collect-garbage)
|
||||
(check-true (regexp-match? #rx"\\[git\\] push origin/master"
|
||||
(get-output-string push-out)))
|
||||
(define push-text (get-output-string push-out))
|
||||
(check-true (regexp-match? #rx"\\[git\\] push origin/master" push-text))
|
||||
(check-true (regexp-match? #rx"\\[git\\] push origin/master: done" push-text))
|
||||
;; Push progress callbacks remain installed, but must not perform output
|
||||
;; from FFI callback context. Percentage output would indicate a regression.
|
||||
(check-false (regexp-match? #rx"%" push-text))
|
||||
(define quiet-out (open-output-string))
|
||||
(parameterize ([current-output-port quiet-out])
|
||||
(git 'push #:quiet #t))
|
||||
|
||||
Reference in New Issue
Block a user