Skip to content

Remove redundant trailing comment test - #995

Merged
Morriar merged 1 commit into
mainfrom
at/audit-sorbet-assertions-test
Aug 5, 2026
Merged

Remove redundant trailing comment test#995
Morriar merged 1 commit into
mainfrom
at/audit-sorbet-assertions-test

Conversation

@Morriar

@Morriar Morriar commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Remove redundant test already covered by

def test_translate_with_trailing_comments
rb = <<~RB
a = T.let(3, Integer) # comment
b = T.cast(x, String) # another comment
T.must(y) # must comment
RB
assert_equal(<<~RB, rbi_to_rbs(rb))
a = 3 #: Integer # comment
b = x #: as String # another comment
y #: as !nil # must comment
RB
end
.

@Morriar
Morriar requested a review from a team as a code owner August 5, 2026 18:15
@Morriar
Morriar merged commit 56b59c5 into main Aug 5, 2026
11 checks passed
@Morriar
Morriar deleted the at/audit-sorbet-assertions-test branch August 5, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants