Skip to content

Commit 56df2aa

Browse files
authored
test: use void and type (#176)
* test: use void and type * build: micronaut test to 3.0.5 * build: groovy to 3.0.10
1 parent 0a5a8d0 commit 56df2aa

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ projectGroup=io.micronaut.rxjava3
44
micronautDocsVersion=2.0.0
55
micronautVersion=3.3.0
66

7-
micronautTestVersion=3.0.2
7+
micronautTestVersion=3.0.5
88

9-
groovyVersion=3.0.9
9+
groovyVersion=3.0.10
1010
spockVersion=2.0-groovy-3.0
1111

1212
rxJava3Version=3.1.3

rxjava3-http-client/src/test/groovy/io/micronaut/rxjava3/http/client/RxClientCloseSpec.groovy

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import spock.lang.Specification
44
import spock.util.concurrent.PollingConditions
55

66
class RxClientCloseSpec extends Specification {
7-
def "confirm RxHttpClient can be stopped"() {
7+
void "confirm RxHttpClient can be stopped"() {
88
given:
9-
def client = Rx3HttpClient.create(new URL("http://localhost"))
9+
Rx3HttpClient client = Rx3HttpClient.create(new URL("http://localhost"))
1010

1111
expect:
1212
client.isRunning()
@@ -19,15 +19,16 @@ class RxClientCloseSpec extends Specification {
1919
}
2020
}
2121

22-
def "confirm RxHttpClient can be closed"() {
22+
void "confirm RxHttpClient can be closed"() {
2323
given:
24-
def client = Rx3HttpClient.create(new URL("http://localhost"))
24+
Rx3HttpClient client = Rx3HttpClient.create(new URL("http://localhost"))
2525

2626
expect:
2727
client.isRunning()
2828

2929
when:
3030
client.close()
31+
3132
then:
3233
new PollingConditions().eventually {
3334
!client.isRunning()

0 commit comments

Comments
 (0)