Skip to content

Add test for Method#add_no_kw_param - #649

Merged
Morriar merged 1 commit into
mainfrom
test-add-no-kw-param
Aug 5, 2026
Merged

Add test for Method#add_no_kw_param#649
Morriar merged 1 commit into
mainfrom
test-add-no-kw-param

Conversation

@Morriar

@Morriar Morriar commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • exercise RBI::Method#add_no_kw_param through the model builder API
  • assert that it renders **nil in the generated RBI

Closes #648 by marking this public builder method as used so it is no longer reported as dead code.

Test plan

  • bundle exec ruby -Itest test/rbi/model_test.rb

@Morriar
Morriar requested a review from a team as a code owner August 5, 2026 13:42
@Morriar
Morriar merged commit 60e3d14 into main Aug 5, 2026
11 checks passed
@Morriar
Morriar deleted the test-add-no-kw-param branch August 5, 2026 15:23
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