X Tutup
Skip to content

Commit b104afd

Browse files
committed
misplace actual and expected
1 parent b896758 commit b104afd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/github/dockerjava/cmd/swarm/UpdateSwarmNodeIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public void testUpdateSwarmNode() {
2727
docker1.updateSwarmNodeCmd().withSwarmNodeId(node.getId()).withVersion(node.getVersion().getIndex())
2828
.withSwarmNodeSpec(nodeSpec).exec();
2929
nodes = docker1.listSwarmNodesCmd().exec();
30-
assertThat(1, is(nodes.size()));
31-
assertThat(SwarmNodeAvailability.PAUSE, is(nodes.get(0).getSpec().getAvailability()));
30+
assertThat(nodes.size(), is(1));
31+
assertThat(nodes.get(0).getSpec().getAvailability(), is(SwarmNodeAvailability.PAUSE));
3232
}
3333
}

0 commit comments

Comments
 (0)
X Tutup