From 3fd0ffa93e479486a8b8fa68485b59d14b98836b Mon Sep 17 00:00:00 2001 From: Googler Date: Mon, 21 Feb 2022 16:11:43 -0800 Subject: [PATCH] Automatic code cleanup. PiperOrigin-RevId: 430096273 --- .../build/lib/runtime/CommandLineEventTest.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/test/java/com/google/devtools/build/lib/runtime/CommandLineEventTest.java b/src/test/java/com/google/devtools/build/lib/runtime/CommandLineEventTest.java index 61f7d7b8d27f53..29707b2f87bc78 100644 --- a/src/test/java/com/google/devtools/build/lib/runtime/CommandLineEventTest.java +++ b/src/test/java/com/google/devtools/build/lib/runtime/CommandLineEventTest.java @@ -68,7 +68,6 @@ public void testMostlyEmpty_originalCommandLine() { .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("original"); checkCommandLineSectionLabels(line); assertThat(line.getSections(0).getChunkList().getChunk(0)).isEqualTo("testblaze"); @@ -91,7 +90,6 @@ public void testMostlyEmpty_canonicalCommandLine() { .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("canonical"); checkCommandLineSectionLabels(line); @@ -125,7 +123,6 @@ public void testActiveBazelrcs_originalCommandLine() throws OptionsParsingExcept .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("original"); checkCommandLineSectionLabels(line); @@ -167,7 +164,6 @@ public void testPassedInBazelrcs_originalCommandLine() throws OptionsParsingExce .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("original"); checkCommandLineSectionLabels(line); @@ -204,7 +200,6 @@ public void testBazelrcs_canonicalCommandLine() throws OptionsParsingException { .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("canonical"); checkCommandLineSectionLabels(line); @@ -246,7 +241,6 @@ public void testOptionsAtVariousPriorities_originalCommandLine() throws OptionsP .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("original"); checkCommandLineSectionLabels(line); @@ -286,7 +280,6 @@ public void testOptionsAtVariousPriorities_canonicalCommandLine() throws Options .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("canonical"); checkCommandLineSectionLabels(line); @@ -325,7 +318,6 @@ public void testExpansionOption_originalCommandLine() throws OptionsParsingExcep .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("original"); checkCommandLineSectionLabels(line); @@ -354,7 +346,6 @@ public void testExpansionOption_canonicalCommandLine() throws OptionsParsingExce .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("canonical"); checkCommandLineSectionLabels(line); @@ -396,7 +387,6 @@ public void testOptionWithImplicitRequirement_originalCommandLine() .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("original"); checkCommandLineSectionLabels(line); @@ -427,7 +417,6 @@ public void testOptionWithImplicitRequirement_canonicalCommandLine() .asStreamProto(null) .getStructuredCommandLine(); - assertThat(line).isNotNull(); assertThat(line.getCommandLineLabel()).isEqualTo("canonical"); checkCommandLineSectionLabels(line);