diff --git a/hutool-system/src/test/java/cn/hutool/system/SystemUtilTest.java b/hutool-system/src/test/java/cn/hutool/system/SystemUtilTest.java index 84741361f..85048cf8b 100644 --- a/hutool-system/src/test/java/cn/hutool/system/SystemUtilTest.java +++ b/hutool-system/src/test/java/cn/hutool/system/SystemUtilTest.java @@ -29,5 +29,11 @@ public class SystemUtilTest { OsInfo osInfo = SystemUtil.getOsInfo(); Assert.assertNotNull(osInfo); } + + @Test + public void getHostInfo() { + HostInfo hostInfo = SystemUtil.getHostInfo(); + Assert.assertNotNull(hostInfo); + } }