Skip to content

Commit

Permalink
X
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasblaesing committed Jun 14, 2022
1 parent 2250d04 commit 0db4482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/platform/test/com/sun/jna/platform/unix/LibCTest.java
Expand Up @@ -84,10 +84,10 @@ public void testGethostnameGetdomainname() {
LibC.INSTANCE.gethostname(buffer, buffer.length);
String hostname = Native.toString(buffer);
System.out.println("Hostname: " + hostname);
assertNotNull(hostname.length() > 0);
assertNotNull(hostname);
LibC.INSTANCE.getdomainname(buffer, buffer.length);
String domainname = Native.toString(buffer);
System.out.println("Domainname: " + domainname);
assertNotNull(domainname.length() > 0);
assertNotNull(domainname);
}
}

0 comments on commit 0db4482

Please sign in to comment.