Skip to content

Commit

Permalink
[java] Deleting a precondition, unit tests can run on any platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Jul 18, 2019
1 parent f2518bf commit b31f2e0
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,13 @@
package org.openqa.selenium.net;

import static org.assertj.core.api.Assertions.assertThat;
import static org.openqa.selenium.Platform.LINUX;

import org.junit.Assume;
import org.junit.BeforeClass;
import org.junit.Test;
import org.openqa.selenium.Platform;

import java.io.StringReader;

public class LinuxEphemeralPortRangeDetectorTest {

@BeforeClass
public static void requiresLinux() {
Assume.assumeTrue(Platform.getCurrent().is(LINUX));
}

@Test
public void decodeEphemeralPorts() {
String range ="1234 65533";
Expand Down

0 comments on commit b31f2e0

Please sign in to comment.