Skip to content

Commit

Permalink
Start changing some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Jan 24, 2023
1 parent d6526d3 commit 845901b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public ImmutableSet<?> elidedTypesAndStaticImports() {
Arrays.class, Collections.class, Comparator.class, Streams.class, naturalOrder());
}

ImmutableList.Builder<String> testImmutableListBuilder() {
return new ImmutableList.Builder<>();
ImmutableSet<ImmutableList.Builder<String>> testImmutableListBuilder() {
return ImmutableSet.of(new ImmutableList.Builder<>(), new ImmutableList.Builder<String>());
}

ImmutableSet<ImmutableList<Integer>> testIterableToImmutableList() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public ImmutableSet<?> elidedTypesAndStaticImports() {
Arrays.class, Collections.class, Comparator.class, Streams.class, naturalOrder());
}

ImmutableList.Builder<String> testImmutableListBuilder() {
return ImmutableList.builder();
ImmutableSet<ImmutableList.Builder<String>> testImmutableListBuilder() {
return ImmutableSet.of(ImmutableList.builder(), ImmutableList<String>builder());
}

ImmutableSet<ImmutableList<Integer>> testIterableToImmutableList() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public ImmutableSet<?> elidedTypesAndStaticImports() {
return ImmutableSet.of(Arrays.class, Collections.class, Streams.class);
}

ImmutableSet.Builder<String> testImmutableSetBuilder() {
return new ImmutableSet.Builder<>();
ImmutableSet<ImmutableSet.Builder<String>> testImmutableSetBuilder() {
return ImmutableSet.of(new ImmutableSet.Builder<>(), new ImmutableSet.Builder<Integer>());
}

ImmutableSet<ImmutableSet<Integer>> testIterableToImmutableSet() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public ImmutableSet<?> elidedTypesAndStaticImports() {
return ImmutableSet.of(Arrays.class, Collections.class, Streams.class);
}

ImmutableSet.Builder<String> testImmutableSetBuilder() {
return ImmutableSet.builder();
ImmutableSet<ImmutableSet.Builder<String>> testImmutableSetBuilder() {
return ImmutableSet.of(ImmutableSet.builder(), ImmutableSet.<Integer>builder());
}

ImmutableSet<ImmutableSet<Integer>> testIterableToImmutableSet() {
Expand Down

0 comments on commit 845901b

Please sign in to comment.