Skip to content

Conversation

@cho-m
Copy link
Member

@cho-m cho-m commented Dec 5, 2025

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

More work toward:

Copilot AI review requested due to automatic review settings December 5, 2025 17:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades Library/Homebrew/test.rb from typed: true to typed: strict as part of the ongoing work toward issue #17297. The changes ensure the file meets Sorbet's strict type-checking requirements without altering functionality.

Key changes:

  • Updated the Sorbet sigil from typed: true to typed: strict
  • Added T.let type annotation to the DEFAULT_TEST_TIMEOUT_SECONDS constant
  • Removed unused default parameter from the proc and made the nil argument explicit when calling it

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Dec 5, 2025
Merged via the queue into main with commit e0d83ce Dec 5, 2025
43 checks passed
@MikeMcQuaid MikeMcQuaid deleted the test-typed-strict branch December 5, 2025 19:47
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.

3 participants