Skip to content

Conversation

junaruga
Copy link
Member

@junaruga junaruga commented Oct 30, 2023

Related to #1048.

Use assert_equal instead of of assert. It's better because assert_equal prints the values when it fails. I want to see the actual values in the failing case.

The assert_equal prints the values like this.

assert_equal 'a', 'b', 'dummy'
dummy
<"a"> expected but was
<"b">

… of assert.

It's better because assert_equal prints the values when it fails.
@junaruga junaruga merged commit 91d40ce into ruby:master Oct 30, 2023
@junaruga junaruga deleted the wip/test-rdoc-generator-json-index-assert-equal branch October 30, 2023 16:21
@junaruga
Copy link
Member Author

Let me merge this PR. I think that no one is disturbed by this small change.

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.

1 participant