diff options
Diffstat (limited to 'test/test_inotify.rb')
-rw-r--r-- | test/test_inotify.rb | 3 |
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 |