git://developer.intra2net.com
/
libt2n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't catch unknown exceptions if we are only going to rethrow them.
[libt2n]
/
test
/
simplecmd.cpp
diff --git
a/test/simplecmd.cpp
b/test/simplecmd.cpp
index
11de9ca
..
97fa6da
100644
(file)
--- a/
test/simplecmd.cpp
+++ b/
test/simplecmd.cpp
@@
-224,8
+224,6
@@
BOOST_AUTO_TEST_CASE(SimpleException)
}
catch(t2n_runtime_error &e)
{ ret=e.what(); }
- catch(...)
- { throw; }
BOOST_CHECK_EQUAL(string("throw me around"),ret);
}