Skip to content

Fix method name tag on assertion - #1705

Merged
soutaro merged 1 commit into
ruby:masterfrom
ksss:assert-method_name
Jan 9, 2024
Merged

soutaro merged 1 commit into
ruby:masterfrom
ksss:assert-method_name

Conversation

@ksss

@ksss ksss commented Dec 28, 2023

Copy link
Copy Markdown
Collaborator

Fixed incorrect method tag display for failure indication when using assert_send_type.

e.g.)

<["[Integerpow] ArgumentTypeError: expected `Integer` but given `0.1`"]> was expected to be empty.
          ^^ missing `#`

I have also reorganized the code so that similar mistakes are less likely to occur.

@soutaro soutaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@soutaro soutaro added this to the RBS 3.5 milestone Jan 9, 2024
@soutaro
soutaro force-pushed the assert-method_name branch from 4ef994e to 7609b1b Compare January 9, 2024 05:27
@soutaro
soutaro enabled auto-merge January 9, 2024 05:27
@soutaro
soutaro added this pull request to the merge queue Jan 9, 2024
Merged via the queue into ruby:master with commit 56afe36 Jan 9, 2024
@ksss
ksss deleted the assert-method_name branch January 9, 2024 05:51
@soutaro soutaro added the Released PRs already included in the released version label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Released PRs already included in the released version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants