mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
8 lines
249 B
C++
8 lines
249 B
C++
#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
|