We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 567372e commit b733f96Copy full SHA for b733f96
src/test/java/io/socket/client/SocketTest.java
@@ -16,7 +16,7 @@
16
17
import static org.hamcrest.CoreMatchers.is;
18
import static org.hamcrest.CoreMatchers.not;
19
-import static org.hamcrest.Matchers.greaterThan;
+import static org.hamcrest.Matchers.greaterThanOrEqualTo;
20
import static org.junit.Assert.assertThat;
21
22
@RunWith(JUnit4.class)
@@ -144,7 +144,7 @@ public void call(Object... args) {
144
145
@SuppressWarnings("unchecked")
146
long ms = (long)values.take();
147
- assertThat(ms, greaterThan((long)0));
+ assertThat(ms, greaterThanOrEqualTo(0L));
148
149
socket.disconnect();
150
}
0 commit comments