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

Update Integer#to_s signature and add test #67

Merged
merged 2 commits into from Nov 10, 2019

Commits on Nov 10, 2019

  1. Configuration menu
    Copy the full SHA
    e72bc16 View commit details
    Browse the repository at this point in the history
  2. Fix TypeError

    Some class can not define singleton class
    
    ```
      1) Error:
    IntegerTest#test_to_s:
    TypeError: can't define singleton
        /home/sei/src/github.com/ruby/ruby-signature/lib/ruby/signature/test/hook.rb:373:in `singleton_class'
        /home/sei/src/github.com/ruby/ruby-signature/lib/ruby/signature/test/hook.rb:373:in `call'
        /home/sei/src/github.com/ruby/ruby-signature/lib/ruby/signature/test/hook.rb:373:in `call'
        /home/sei/src/github.com/ruby/ruby-signature/lib/ruby/signature/test/hook.rb:223:in `block in delegation'
        test/stdlib/Integer_test.rb:6:in `test_to_s'
    ```
    hanachin committed Nov 10, 2019
    Configuration menu
    Copy the full SHA
    63e3ae6 View commit details
    Browse the repository at this point in the history