From 2c5a0b820111a1595c486aa77eda7e0deadd9014 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 10 Jul 2024 15:44:08 -0700 Subject: [PATCH] chore: fix //tools/format:format_test_Protocol_Buffer_with_buf Also fix integration test golden line --- example/src/file.proto | 2 +- example/test/lint_test.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/src/file.proto b/example/src/file.proto index ce51d74d..a6ec999f 100644 --- a/example/src/file.proto +++ b/example/src/file.proto @@ -12,5 +12,5 @@ service HttpService { // Receives an inbound message an http client. // buf:lint:ignore RPC_RESPONSE_STANDARD_NAME // buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE - rpc ReceiveMessage (HttpBody) returns (Empty) {} + rpc ReceiveMessage(HttpBody) returns (Empty) {} } diff --git a/example/test/lint_test.bats b/example/test/lint_test.bats index b09e513a..b7f6cb78 100644 --- a/example/test/lint_test.bats +++ b/example/test/lint_test.bats @@ -29,7 +29,7 @@ EOF assert_output --partial 'src/file.ts: line 2, col 7, Error - Type string trivially inferred from a string literal, remove type annotation. (@typescript-eslint/no-inferrable-types)' # Buf - assert_output --partial 'src/file.proto:1:1:Import "src/unused.proto" is unused.' + assert_output --partial 'src/file.proto:3:1:Import "src/unused.proto" is unused.' # Vale assert_output --partial "src/README.md:3:47:Google.We:Try to avoid using first-person plural like 'We'."