<commit_before>use Test;
use SP6;

plan 1;

my $templ_dir = 't/templ';
my $sp6 = SP6.new( :templ_dir($templ_dir), );
is $sp6.process(:tfpath<subs.sp6>), 'some-text', 'esc sub';
<commit_msg>Fix subs test - rakudo gist probably changed<commit_after>use Test;
use SP6;

plan 1;

my $templ_dir = 't/templ';
my $sp6 = SP6.new( :templ_dir($templ_dir), );
is $sp6.process(:tfpath<subs.sp6>), '[some-text]', 'esc sub';

{'fraction_non_alphanumeric': 0.19708029197080293, 'fraction_numerical': 0.029197080291970802, 'mean_word_length': 5.338461538461538, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1617086', 'n_tokens_mistral': 188, 'n_tokens_neox': 185, 'n_words': 42}