Project

General

Profile

Actions

Bug #4715

closed

Add some basic tests for Singleton

Added by phiggins (Pete Higgins) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-05-16 trunk 31588) [x86_64-linux]
Backport:
[ruby-core:36246]

Description

Per the request over here: http://redmine.ruby-lang.org/issues/4709

I've added some basic tests for Singleton after removing some example code that seemed to function as tests.


Files

singleton_tests.diff (2.39 KB) singleton_tests.diff phiggins (Pete Higgins), 05/17/2011 07:50 AM
Actions #1

Updated by drbrain (Eric Hodel) over 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r31614.
Pete, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • test/test_singleton.rb: Add tests from lib/singleton.rb. Patch by
    Pete Higgins. [Ruby 1.9 - Bug #4715]
Actions

Also available in: Atom PDF

Like0
Like0