Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 447747267
  • Loading branch information
Googler authored and copybara-github committed May 10, 2022
1 parent 4a05464 commit b227a9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ public void javaInfoSourceJarsExposed() throws Exception {
new StarlarkProvider.Key(
Label.parseAbsolute("//foo:extension.bzl", ImmutableMap.of()), "result"));
@SuppressWarnings("unchecked")
Sequence<Artifact> sourceJars = (Sequence<Artifact>) (info.getValue("source_jars"));
Sequence<Artifact> sourceJars = (Sequence<Artifact>) info.getValue("source_jars");
assertThat(prettyArtifactNames(sourceJars)).containsExactly("foo/libmy_java_lib_a-src.jar");

assertThat(prettyArtifactNames(sourceJars)).doesNotContain("foo/libmy_java_lib_b-src.jar");
Expand Down

0 comments on commit b227a9a

Please sign in to comment.