aboutsummaryrefslogtreecommitdiff
path: root/t/01-basic.t
blob: d38a8c32529bfc7d92d974d0c5c5ac0e91d8f217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;