aboutsummaryrefslogtreecommitdiffstats
path: root/feature-tests
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-11-05 00:47:14 +0000
committerTom Feist <shabble@metavore.org>2010-11-05 00:47:14 +0000
commit1297ea571d444d38a1dafe6e21978516831cdcf6 (patch)
treeeebaf63dc15f9373bcacb58941eaf8691bab92a7 /feature-tests
parentvim_mode: added a setting for 'prompt_leading_space' to determine whether the (diff)
downloadirssi-scripts-1297ea571d444d38a1dafe6e21978516831cdcf6.tar.gz
irssi-scripts-1297ea571d444d38a1dafe6e21978516831cdcf6.zip
added some feature tests for format expansion
Diffstat (limited to 'feature-tests')
-rw-r--r--feature-tests/format-test.pl26
-rw-r--r--feature-tests/template.pl15
2 files changed, 41 insertions, 0 deletions
diff --git a/feature-tests/format-test.pl b/feature-tests/format-test.pl
new file mode 100644
index 0000000..d8be412
--- /dev/null
+++ b/feature-tests/format-test.pl
@@ -0,0 +1,26 @@
+use strict;
+use warnings;
+
+
+use Irssi;
+
+
+our $VERSION = '0.1';
+our %IRSSI = (
+ authors => '',
+ contact => '',
+ name => '',
+ description => '',
+ license => 'Public Domain',
+ );
+
+init();
+
+sub init {
+ Irssi::command_bind('ft', \&format_test);
+}
+
+
+sub format_test {
+ my ($args, $win, $server) = @_;
+}
diff --git a/feature-tests/template.pl b/feature-tests/template.pl
new file mode 100644
index 0000000..2c75044
--- /dev/null
+++ b/feature-tests/template.pl
@@ -0,0 +1,15 @@
+use strict;
+use warnings;
+
+
+use Irssi;
+
+
+our $VERSION = '0.1';
+our %IRSSI = (
+ authors => '',
+ contact => '',
+ name => '',
+ description => '',
+ license => 'Public Domain',
+ );