Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 3f69298

Browse files
krallinfacebook-github-bot
authored andcommitted
buck1: remove a test that doesn't exist
Summary: The `standard_java_test` macro only declares a test target if it has > 1 srcs. Actually running `test` on the library with the `tests` attribute fails in v1 and v2 here. Reviewed By: IanChilds fbshipit-source-id: 0a2310183435ef38224d438c47b8433e6892b62e
1 parent 821313b commit 3f69298

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

  • src/com/facebook/buck/parser/api
  • test/com/facebook/buck/parser/api

src/com/facebook/buck/parser/api/BUCK

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ java_immutables_library(
55
srcs = glob([
66
"*.java",
77
]),
8-
tests = [
9-
"//test/com/facebook/buck/parser/api:api",
10-
],
118
visibility = [
129
"PUBLIC",
1310
],
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//tools/build_rules:java_rules.bzl", "standard_java_test", "buck_java_library")
1+
load("//tools/build_rules:java_rules.bzl", "buck_java_library")
22

33
buck_java_library(
44
name = "testutil",
@@ -16,12 +16,3 @@ buck_java_library(
1616
"//third-party/java/guava:guava",
1717
],
1818
)
19-
20-
standard_java_test(
21-
name = "api",
22-
deps = [
23-
"//src/com/facebook/buck/parser/api:api",
24-
"//third-party/java/guava:guava",
25-
"//third-party/java/junit:junit",
26-
],
27-
)

0 commit comments

Comments
 (0)