formatting fix so I collapse in TM

This commit is contained in:
Brian Lopez 2010-08-24 09:27:29 -07:00
parent 1100288eba
commit 3b2e7602a0

View File

@ -105,6 +105,7 @@ describe Mysql2::Client do
# XXX this test is not deterministic (because Unix signal handling is not) # XXX this test is not deterministic (because Unix signal handling is not)
# and may fail on a loaded system # and may fail on a loaded system
if RUBY_PLATFORM !~ /mingw|mswin/
it "should run signal handlers while waiting for a response" do it "should run signal handlers while waiting for a response" do
mark = {} mark = {}
trap(:USR1) { mark[:USR1] = Time.now } trap(:USR1) { mark[:USR1] = Time.now }
@ -128,7 +129,8 @@ describe Mysql2::Client do
ensure ensure
trap(:USR1, 'DEFAULT') trap(:USR1, 'DEFAULT')
end end
end if RUBY_PLATFORM !~ /mingw|mswin/ end
end
end end
it "should respond to #escape" do it "should respond to #escape" do