From 666fe33f770d07b1e79b2b6dd468735cead652a1 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Fri, 8 Nov 2024 07:59:30 -0800 Subject: [PATCH] Add an integration test for comments before text blocks PiperOrigin-RevId: 694499404 --- .../googlejavaformat/java/testdata/B377585941.input | 8 ++++++++ .../googlejavaformat/java/testdata/B377585941.output | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 core/src/test/resources/com/google/googlejavaformat/java/testdata/B377585941.input create mode 100644 core/src/test/resources/com/google/googlejavaformat/java/testdata/B377585941.output diff --git a/core/src/test/resources/com/google/googlejavaformat/java/testdata/B377585941.input b/core/src/test/resources/com/google/googlejavaformat/java/testdata/B377585941.input new file mode 100644 index 000000000..bd3107be4 --- /dev/null +++ b/core/src/test/resources/com/google/googlejavaformat/java/testdata/B377585941.input @@ -0,0 +1,8 @@ +class T { + { + f( + /* foo */ """ + hello + """); + } +} diff --git a/core/src/test/resources/com/google/googlejavaformat/java/testdata/B377585941.output b/core/src/test/resources/com/google/googlejavaformat/java/testdata/B377585941.output new file mode 100644 index 000000000..1dfc49503 --- /dev/null +++ b/core/src/test/resources/com/google/googlejavaformat/java/testdata/B377585941.output @@ -0,0 +1,8 @@ +class T { + { + f( + /* foo */ """ + hello + """); + } +}