From 8c7cf54e2ad19b05d52461be8cd78597056c4f65 Mon Sep 17 00:00:00 2001 From: Elkhan Eminov Date: Wed, 10 Jan 2024 02:06:14 +0100 Subject: [PATCH] Align test doc --- .../com/google/errorprone/BugPatternIndexWriterTest.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docgen/src/test/java/com/google/errorprone/BugPatternIndexWriterTest.java b/docgen/src/test/java/com/google/errorprone/BugPatternIndexWriterTest.java index 1f0039d26ae..e244b6689ae 100644 --- a/docgen/src/test/java/com/google/errorprone/BugPatternIndexWriterTest.java +++ b/docgen/src/test/java/com/google/errorprone/BugPatternIndexWriterTest.java @@ -59,9 +59,7 @@ public void dumpInternal() throws Exception { .isEqualTo( "# Bug patterns\n\n" + "[TOC]\n\n" - + "This list is auto-generated from our sources. Each bug pattern includes code\n" - + "examples of both positive and negative cases; these examples are used in our\n" - + "regression test suite.\n" + + "This list is auto-generated from our sources.\n" + "\n" + "Patterns which are marked __Experimental__ will not be evaluated against your\n" + "code, unless you specifically configure Error Prone. The default checks are\n" @@ -116,9 +114,7 @@ public void dumpExternal() throws Exception { + "---\n\n\n" + "# Bug patterns\n" + "\n" - + "This list is auto-generated from our sources. Each bug pattern includes code\n" - + "examples of both positive and negative cases; these examples are used in our\n" - + "regression test suite.\n" + + "This list is auto-generated from our sources.\n" + "\n" + "Patterns which are marked __Experimental__ will not be evaluated against your\n" + "code, unless you specifically configure Error Prone. The default checks are\n"