Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebarrau committed Sep 4, 2023
1 parent ba57c2a commit 2012c55
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
10 changes: 5 additions & 5 deletions java/gazelle/testdata/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ gazelle_binary(
[
gazelle_generation_test(
name = file[0:-len("/WORKSPACE")],
gazelle_binary = ":gazelle",
gazelle_timeout_seconds = 30,
test_data = glob(
include = [file[0:-len("/WORKSPACE")] + "/**"],
),
env = {
"GAZELLE_JAVA_LOG_CALLER": "false",
"GAZELLE_JAVA_LOG_FORMAT": "json",
"GAZELLE_JAVA_LOG_TIMESTAMP": "false",
},
gazelle_binary = ":gazelle",
gazelle_timeout_seconds = 30,
test_data = glob(
include = [file[0:-len("/WORKSPACE")] + "/**"],
),
)
for file in glob(["**/WORKSPACE"])
]
10 changes: 5 additions & 5 deletions java/gazelle/testdata/maven_with_collision/expectedStderr.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
12:00AM ERR java/gazelle/resolve.go:XXX > Append one of the following to BUILD.bazel:
12:00AM ERR java/gazelle/resolve.go:XXX > # gazelle:resolve java com.google.common.primitives @maven//:com_google_guava_guava
12:00AM ERR java/gazelle/resolve.go:XXX > # gazelle:resolve java com.google.common.primitives @maven//:com_google_guava_guava_sources
12:00AM WRN java/gazelle/resolve.go:XXX > Unable to find package for import in any dependency from rule=//src/main/java/com/example/myproject package=com.google.common.primitives
12:00AM FTL java/gazelle/lang.go:XXX > the java extension encontered errors that will create invalid build files
{"level":"error","message":"Append one of the following to BUILD.bazel:"}
{"level":"error","message":"# gazelle:resolve java com.google.common.primitives @maven//:com_google_guava_guava"}
{"level":"error","message":"# gazelle:resolve java com.google.common.primitives @maven//:com_google_guava_guava_sources"}
{"level":"warn","package":"com.google.common.primitives","from rule":"//src/main/java/com/example/myproject","message":"Unable to find package for import in any dependency"}
{"level":"fatal","message":"the java extension encontered errors that will create invalid build files"}

This file was deleted.

0 comments on commit 2012c55

Please sign in to comment.