diff options
Diffstat (limited to 'feature-tests/error.pl')
-rw-r--r-- | feature-tests/error.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/feature-tests/error.pl b/feature-tests/error.pl new file mode 100644 index 0000000..5507910 --- /dev/null +++ b/feature-tests/error.pl @@ -0,0 +1,16 @@ +use Irssi; +our $VERSION = '0.1'; +our %IRSSI = ( + authors => 'shabble', + contact => 'shabble+irssi@metavore.org', + name => '', + description => '', + license => 'MIT', + updated => '$DATE' + ); + +Irssi::timeout_add_once(1000, 'die_horribly', undef); + +sub die_horribly { + die "Oh noes, I broke!"; +} |