Skip to content

Commit

Permalink
Fix test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Dec 13, 2016
1 parent 65dd1e9 commit 03c94c7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
import org.junit.Test;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assume.assumeTrue;

public class JnaNativePtyTest {

@Test
public void testDescriptor() {
assumeTrue(!System.getProperty( "os.name" ).startsWith( "Windows"));
assertNotNull(JnaNativePty.newDescriptor(4));
}
}

0 comments on commit 03c94c7

Please sign in to comment.