Skip to content

Commit

Permalink
Mute output of StandardStreamsCapturerSpec v2
Browse files Browse the repository at this point in the history
  • Loading branch information
leonard84 committed Oct 18, 2024
1 parent 778e2bc commit 8517854
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class StandardStreamsCapturerSpec extends Specification {

def setup() {
capturer.addStandardStreamsListener(listener)
capturer.muteStandardStreams()
capturer.start()
capturer.muteStandardStreams()
}

def cleanup() {
Expand Down Expand Up @@ -61,7 +61,6 @@ class StandardStreamsCapturerSpec extends Specification {
capturer.addStandardStreamsListener(listener2)

when:
capturer.start()
println("some message")

then:
Expand Down

0 comments on commit 8517854

Please sign in to comment.