Fix test that expects an exception to fail if no exception is thrown

This commit is contained in:
Joel Leitch 2013-05-03 15:34:58 +00:00
parent b88e0e9395
commit 7c9fd53c78

View File

@ -65,6 +65,7 @@ public final class LinkedHashTreeMapTest extends TestCase {
LinkedHashTreeMap<Object, String> map = new LinkedHashTreeMap<Object, String>();
try {
map.put(new Object(), "android");
fail();
} catch (ClassCastException expected) {}
}