mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 07:02:30 +00:00
Backport changes from feature-bind.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#ifndef HELPERS_ASSERT_H
|
||||
#define HELPERS_ASSERT_H
|
||||
|
||||
#define ASSERT_CATCH_INPUT_ERROR(some_code) \
|
||||
try { some_code; CPPUNIT_ASSERT("torrent::input_error not caught" && false); } catch (torrent::input_error& e) { }
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user