Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor array test to use assert_xxx method #2050

Merged
merged 1 commit into from Apr 12, 2014

Conversation

suzukaze
Copy link
Contributor

It is useful that we know exptecd and actual value when test fails to use assert_xxx method.

Ex:

Fail: Array#compact
 - Assertion[2] Failed: Expected to be equal
    Expected: [0, nil, "2", nil, :t, false, nil]
      Actual: [1, nil, "2", nil, :t, false, nil]
Total: 758
   OK: 757
   KO: 1

matz added a commit that referenced this pull request Apr 12, 2014
Refactor array test to use assert_xxx method
@matz matz merged commit 141593e into mruby:master Apr 12, 2014
@suzukaze suzukaze deleted the refactor-array-test branch June 7, 2014 05:11
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.

None yet

2 participants