about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-10 02:12:46 +0000
committerEric Wong <normalperson@yhbt.net>2011-03-10 02:12:46 +0000
commit89986c2df21b94fec21e516c0f51f3e3584f5b2e (patch)
treedf7d0e1a10923834455952cb08f6a18681f3dd33
parentf04b6e5d6e5ad7a5144e4a01f113f24af32c8d25 (diff)
downloadsleepy_penguin-89986c2df21b94fec21e516c0f51f3e3584f5b2e.tar.gz
None of our business.
-rw-r--r--test/test_inotify.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_inotify.rb b/test/test_inotify.rb
index bbda16f..3362535 100644
--- a/test/test_inotify.rb
+++ b/test/test_inotify.rb
@@ -1,6 +1,7 @@
 require 'test/unit'
 require 'fcntl'
 require 'tempfile'
+require 'set'
 $-w = true
 require 'sleepy_penguin'
 
@@ -13,7 +14,7 @@ class TestInotify < Test::Unit::TestCase
   end
 
   def test_constants
-    Inotify.constants.each do |const|
+    (Inotify.constants - IO.constants).each do |const|
       case const.to_sym
       when :Event, :Enumerator
       else