mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 18:55:22 +01:00
Ensure native zlib actually loads.
This commit is contained in:
parent
7907610eeb
commit
255d7fde9a
@ -20,7 +20,11 @@ public class NativeZlibTest
|
||||
@Test
|
||||
public void doTest() throws DataFormatException
|
||||
{
|
||||
if ( NativeCode.isSupported() )
|
||||
{
|
||||
Assert.assertTrue( "Native code failed to load!", factory.load() );
|
||||
test( factory.newInstance() );
|
||||
}
|
||||
test( new JavaZlib() );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user