Skip to content

Commit

Permalink
undo unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
nimakarimipour committed Nov 1, 2024
1 parent 9e03c10 commit 9ce9aa4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import static org.junit.Assert.fail;

import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.ImmutableList;
import com.google.errorprone.CompilationTestHelper;
import com.uber.nullaway.NullAway;
import java.io.BufferedReader;
Expand All @@ -42,7 +42,7 @@
public class SerializationTestHelper<T extends Display> {

private final Path outputDir;
private ImmutableSet<T> expectedOutputs;
private ImmutableList<T> expectedOutputs;
private CompilationTestHelper compilationTestHelper;
private DisplayFactory<T> factory;
private String fileName;
Expand All @@ -60,12 +60,12 @@ public SerializationTestHelper<T> addSourceLines(String path, String... lines) {

@SafeVarargs
public final SerializationTestHelper<T> setExpectedOutputs(T... outputs) {
this.expectedOutputs = ImmutableSet.copyOf(outputs);
this.expectedOutputs = ImmutableList.copyOf(outputs);
return this;
}

public SerializationTestHelper<T> expectNoOutput() {
this.expectedOutputs = ImmutableSet.of();
this.expectedOutputs = ImmutableList.of();
return this;
}

Expand Down

0 comments on commit 9ce9aa4

Please sign in to comment.