From 6671b847b432aca57cf29979dbce45a69d932322 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 31 Mar 2020 20:38:41 -0300 Subject: Initial commit --- t/01-basic.t | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 t/01-basic.t (limited to 't/01-basic.t') 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, 1; + + +done-testing; -- cgit v1.2.3-70-g09d2