<commit_before>use v6;

use Test;
plan 9;

use Dispatcher;
ok(1,'We use Dispatcher and we are still alive');

use Dispatcher::Rule;
ok(1,'We use Dispatcher::Rule and we are still alive');

my $d = Dispatcher.new;

dies_ok( { $d.add: Dispatcher::Rule.new }, 
         '.add adds only complete Rule objects' );

$d.add: Dispatcher::Rule.new( :pattern(['']), code => { "Krevedko" } );<commit_msg>dies_ok is dies-ok<commit_after>use v6;

use Test;
plan 9;

use Dispatcher;
ok(1,'We use Dispatcher and we are still alive');

use Dispatcher::Rule;
ok(1,'We use Dispatcher::Rule and we are still alive');

my $d = Dispatcher.new;

dies-ok( { $d.add: Dispatcher::Rule.new }, 
         '.add adds only complete Rule objects' );

$d.add: Dispatcher::Rule.new( :pattern(['']), code => { "Krevedko" } );
{'fraction_non_alphanumeric': 0.16940581542351454, 'fraction_numerical': 0.010113780025284451, 'mean_word_length': 4.315436241610739, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3482148', 'n_tokens_mistral': 304, 'n_tokens_neox': 282, 'n_words': 88}