test_watcher: fix for Ruby trunk r40195 and later
commit8e5a4714fd90f87e2bc56c7b3f2525bb9055a227
authorEric Wong <normalperson@yhbt.net>
Mon, 2 Sep 2013 09:53:51 +0000 (2 09:53 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 2 Sep 2013 09:58:26 +0000 (2 09:58 +0000)
tree92d81188149cb7e1712f720ff7b5b177a0cf6be5
parent07efdceff18dc481424adb8b509244b6c6a822d5
test_watcher: fix for Ruby trunk r40195 and later

assert_raises doesn't capture exceptions the same way rescue works.
test/test_watcher.rb