Skip to content

Commit

Permalink
[java] Deleting redundant fixture initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Apr 24, 2020
1 parent a7b0889 commit d6b82a6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions java/client/test/org/openqa/selenium/os/CommandLineTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import static org.openqa.selenium.os.CommandLine.getLibraryPathPropertyName;

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

Expand All @@ -34,13 +33,8 @@

public class CommandLineTest {

private static String testExecutable;

@Before
public void setUp() {
// ping can be found on every platform we support.
testExecutable = "ping";
}
// ping can be found on every platform we support.
private static String testExecutable = "ping";

@Test
public void testSetEnvironmentVariableWithNullKeyThrows() {
Expand Down

0 comments on commit d6b82a6

Please sign in to comment.