Skip to content

Commit

Permalink
switching off bad-IO-reader test under FFI
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed May 19, 2011
1 parent d76926a commit 22c39a5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/test_reader.rb
Expand Up @@ -88,9 +88,11 @@ def read(size)
end
end

def test_io_that_reads_too_much
io = ReallyBadIO.new
Nokogiri::XML::Reader(io)
unless Nokogiri.ffi?
def test_io_that_reads_too_much
io = ReallyBadIO.new
Nokogiri::XML::Reader(io)
end
end

def test_in_memory
Expand Down

0 comments on commit 22c39a5

Please sign in to comment.