File: test_basic_object_does_not_throw_exception

package info (click to toggle)
ruby-ref 1.0.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 332 kB
  • ctags: 186
  • sloc: ruby: 1,107; java: 92; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: removing failing test 
 Removing test_basic_object_does_not_throw_exception as it fails
 and is superfluous
Author: Markus Tornow <tornow@riseup.net> 
Forwarded: no
Last-Update: 2013-10-30 
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/weak_reference_test.rb
+++ b/test/weak_reference_test.rb
@@ -44,11 +44,4 @@
     assert ref.inspect
   end
   
-  if defined?(BasicObject)
-    def test_basic_object_does_not_throw_exception
-      obj = BasicObject.new
-      ref = Ref::WeakReference.new(obj)
-      assert_equal obj, ref.object
-    end
-  end
 end