mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-30 03:09:03 +00:00
Fix test condition
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ public class SockJsUrlInfoTests {
|
||||
public void serverId() throws Exception {
|
||||
SockJsUrlInfo info = new SockJsUrlInfo(new URI("http://example.com"));
|
||||
int serverId = Integer.valueOf(info.getServerId());
|
||||
assertTrue("Invalid serverId: " + serverId, serverId > 0 && serverId < 1000);
|
||||
assertTrue("Invalid serverId: " + serverId, serverId >= 0 && serverId < 1000);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user