about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2011-06-27 10:36:21 -0700
committerEric Wong <normalperson@yhbt.net>2011-06-27 18:29:22 +0000
commita5830080b3cf6011d737342462700f7c5819942a (patch)
tree16081effa08e789ddc587a8e0b96d60ab8dce985
parentaf8f564217f87020fbe34c9bdbeb2cb57e13ac54 (diff)
downloadraindrops-a5830080b3cf6011d737342462700f7c5819942a.tar.gz
-rw-r--r--test/test_aggregate_pmq.rb2
-rw-r--r--test/test_last_data_recv_unicorn.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_aggregate_pmq.rb b/test/test_aggregate_pmq.rb
index 9278cba..7748b4f 100644
--- a/test/test_aggregate_pmq.rb
+++ b/test/test_aggregate_pmq.rb
@@ -2,7 +2,7 @@ require "test/unit"
 require "raindrops"
 pmq = begin
   Raindrops::Aggregate::PMQ
-rescue => LoadError
+rescue LoadError => e
   warn "W: #{e} skipping test"
   false
 end
diff --git a/test/test_last_data_recv_unicorn.rb b/test/test_last_data_recv_unicorn.rb
index 38bdd11..7f06c85 100644
--- a/test/test_last_data_recv_unicorn.rb
+++ b/test/test_last_data_recv_unicorn.rb
@@ -6,7 +6,7 @@ require "net/http"
 $stderr.sync = $stdout.sync = true
 pmq = begin
   Raindrops::Aggregate::PMQ
-rescue => LoadError
+rescue LoadError => e
   warn "W: #{e} skipping test"
   false
 end