aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools
diff options
context:
space:
mode:
authorGravatar dslomov <dslomov@google.com>2017-07-05 11:13:36 -0400
committerGravatar John Cater <jcater@google.com>2017-07-05 13:10:54 -0400
commit0b6f67ff4cc0fc2c231357ca0483ba68a2096fda (patch)
tree571a8a2f3cde77729861fe77791889354228764a /src/test/java/com/google/devtools
parent233b72dd0607bafcf7f883504d436f0d98389c37 (diff)
Do not pass ruleKind from Java sandwich/aspects.
This gives non-sensical values in most cases. RELNOTES: None. PiperOrigin-RevId: 160959188
Diffstat (limited to 'src/test/java/com/google/devtools')
-rw-r--r--src/test/java/com/google/devtools/build/lib/rules/java/proto/SkylarkJavaLiteProtoLibraryTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/java/proto/SkylarkJavaLiteProtoLibraryTest.java b/src/test/java/com/google/devtools/build/lib/rules/java/proto/SkylarkJavaLiteProtoLibraryTest.java
index 56b75357ab..c42ef25391 100644
--- a/src/test/java/com/google/devtools/build/lib/rules/java/proto/SkylarkJavaLiteProtoLibraryTest.java
+++ b/src/test/java/com/google/devtools/build/lib/rules/java/proto/SkylarkJavaLiteProtoLibraryTest.java
@@ -186,7 +186,7 @@ public class SkylarkJavaLiteProtoLibraryTest extends BuildViewTestCase {
}
@Test
- public void testCommandLineContainsTargetLabelAndRuleKind() throws Exception {
+ public void testCommandLineContainsTargetLabel() throws Exception {
scratch.file(
"java/lib/BUILD",
"load('//tools/build_rules/java_lite_proto_library:java_lite_proto_library.bzl',",
@@ -200,7 +200,6 @@ public class SkylarkJavaLiteProtoLibraryTest extends BuildViewTestCase {
getConfiguredTarget("//java/lib:lite_pb2"), "java/lib/libproto-lite.jar");
List<String> commandLine = ImmutableList.copyOf(javacAction.buildCommandLine());
- MoreAsserts.assertContainsSublist(commandLine, "--rule_kind", "proto_library");
MoreAsserts.assertContainsSublist(commandLine, "--target_label", "//java/lib:proto");
}