Sha256: ab51d565c67c8a8547c03ded2c59c5fad7ea4ccb10b1a26130ccb82834841153
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), 'helper')) class BugCrashOnDebug < Test::Unit::TestCase include BugTestServerSetupTeardown def test_on_debug c = Curl::Easy.new("http://127.0.0.1:#{@port}/test") did_raise = false did_call = false begin c.on_success do|x| did_call = true raise "error" # this will get swallowed end c.perform rescue => e did_raise = true end assert did_raise assert did_call end end #test_on_debug
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
curb-1.0.6 | tests/bug_crash_on_debug.rb |
curb-1.0.5 | tests/bug_crash_on_debug.rb |
curb-1.0.4 | tests/bug_crash_on_debug.rb |