aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2020-03-31 20:38:41 -0300
committerMatias Linares <matiaslina@gmail.com>2020-03-31 20:38:41 -0300
commit6671b847b432aca57cf29979dbce45a69d932322 (patch)
treee7107de45b35e7a4dc707d4e76e8f24213486394 /t
downloaddeprecated-bots-master.tar.gz
Initial commitHEADmaster
Diffstat (limited to 't')
-rw-r--r--t/01-basic.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
new file mode 100644
index 0000000..d38a8c3
--- /dev/null
+++ b/t/01-basic.t
@@ -0,0 +1,16 @@
+use v6.c;
+
+use Test;
+use Matrix::Bot::Plugin::Dominating;
+
+plan 2;
+
+
+ok Matrix::Bot::Plugin::Dominating.new(game-id => 1, config => %());
+
+my \Dominating = Matrix::Bot::Plugin::Dominating;
+
+is Dominating.new(:config(a => 1)).config<a>, 1;
+
+
+done-testing;