Project

General

Profile

Bug #4715

Add some basic tests for Singleton

Added by phiggins (Pete Higgins) almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-05-16 trunk 31588) [x86_64-linux]
[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.

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

Associated revisions

Revision 31614
Added by drbrain (Eric Hodel) almost 6 years ago

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

Revision 31614
Added by drbrain (Eric Hodel) almost 6 years ago

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

Revision 31614
Added by drbrain (Eric Hodel) almost 6 years ago

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

Revision 31614
Added by drbrain (Eric Hodel) almost 6 years ago

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

History

#1 Updated by drbrain (Eric Hodel) almost 6 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]

Also available in: Atom PDF