Skip to content

Commit

Permalink
Suppress output during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gerdint committed Nov 10, 2016
1 parent 4936e27 commit 3a20ca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frog/enhance-body.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
[current-image-sizes-attr #f]
[current-image-sizes '(320 600 1200)]
[current-image-default-size 600]
[current-verbosity 99])
[current-verbosity 0])
(test-equal? "Remote images"
(responsive-images
'((div ((class "figure")) (img ((src "//somehost.com/img/file.jpg"))))))
Expand Down
3 changes: 2 additions & 1 deletion frog/responsive-images.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@

(module+ test
(when magick-available?
(parameterize ([top example])
(parameterize ([top example]
[current-verbosity 0])
(define tmp (find-system-path 'temp-dir))
(define output (build-path tmp "600px-image.gif"))
(test-eq? "resize"
Expand Down

0 comments on commit 3a20ca8

Please sign in to comment.