Skip to content

Commit 227fd25

Browse files
ihabadhamclaude
andcommitted
Drop trailing comma in server_components spec populated-comments fixture
Style/TrailingCommaInArrayLiteral offense in the populated-comments RSC payload test. Didn't surface on #729 because lint_test.yml only triggers on PRs targeting master, so sub-PR CI skipped lint entirely. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f1fa1d7 commit 227fd25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/requests/server_components_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def expect_valid_rsc_payload
3535
it "streams a valid RSC payload for ServerComponentsPage with populated comments" do
3636
now = 1.minute.ago.iso8601
3737
comments = [
38-
{ id: 1, author: "Alice", text: "Hello **markdown**", created_at: now, updated_at: now },
38+
{ id: 1, author: "Alice", text: "Hello **markdown**", created_at: now, updated_at: now }
3939
]
4040
get "/rsc_payload/ServerComponentsPage", params: { props: { comments: comments }.to_json }
4141
expect_valid_rsc_payload

0 commit comments

Comments
 (0)