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