diff options
Diffstat (limited to 't/01-basic.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; |