Skip to content

Commit

Permalink
chore: fix //tools/format:format_test_Protocol_Buffer_with_buf
Browse files Browse the repository at this point in the history
Also fix integration test golden line
  • Loading branch information
alexeagle committed Jul 10, 2024
1 parent b485150 commit 2c5a0b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/src/file.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
}
2 changes: 1 addition & 1 deletion example/test/lint_test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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'."
Expand Down

0 comments on commit 2c5a0b8

Please sign in to comment.