diff options
author | Matias Linares <matiaslina@gmail.com> | 2020-03-31 20:38:41 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@gmail.com> | 2020-03-31 20:38:41 -0300 |
commit | 6671b847b432aca57cf29979dbce45a69d932322 (patch) | |
tree | e7107de45b35e7a4dc707d4e76e8f24213486394 /t | |
download | deprecated-bots-master.tar.gz |
Diffstat (limited to 't')
-rw-r--r-- | t/01-basic.t | 16 |
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; |