mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -196,8 +196,8 @@ public class Ipv4UtilTest {
|
||||
public void getMaskBitByIpRange() {
|
||||
final String ip = "192.168.100.2";
|
||||
for (int i = 1; i <= 32; i++) {
|
||||
String beginIpStr = Ipv4Util.getBeginIpStr(ip, i);
|
||||
String endIpStr = Ipv4Util.getEndIpStr(ip, i);
|
||||
final String beginIpStr = Ipv4Util.getBeginIpStr(ip, i);
|
||||
final String endIpStr = Ipv4Util.getEndIpStr(ip, i);
|
||||
Assert.assertEquals(Ipv4Util.getMaskByMaskBit(i), Ipv4Util.getMaskByIpRange(beginIpStr, endIpStr));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user