https://bugzilla.wikimedia.org/show_bug.cgi?id=41491
--- Comment #8 from Jeroen De Dauw <[email protected]> 2012-11-16 10:02:37 UTC --- > core/tests/phpunit/includes/libs/GenericArrayObjectTest.php: try { > $list->offsetUnset( 'sdfsedtgsrdysftu' ); } catch ( \Exception $exception ){} Perfectly legit code to test if an exception that should be thrown is actually thrown. We have such code at multiple places in Wikibase and no one has a problem with it there either. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
