From 4c4148d13c12d1b1b15d6bc996aae109c4130e9f Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Tue, 11 Oct 2011 22:45:11 +0100 Subject: added a bunch of feature_test stuff that I've forgotten to add. Nothing interesting really. --- feature-tests/error.pl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 feature-tests/error.pl (limited to 'feature-tests/error.pl') 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!"; +} -- cgit v1.2.3