<commit_before><commit_msg>[t/spec] added simple test for positional placeholders<commit_after>use v6;
use Test;

plan 3;

# TODO: smartlinks

sub one_placeholder {
    is $^bla,  2, "A single placeholder works";
}

one_placeholder(2);

sub two_placeholders {
    is $^b, 2, "Second lexicographic placeholder gets second parameter";
    is $^a, 1, "Frist lexicographic placeholder gets first parameter";
}

two_placeholders(1, 2);


# vim: syn=perl6
{'fraction_non_alphanumeric': 0.1091314031180401, 'fraction_numerical': 0.0200445434298441, 'mean_word_length': 4.921052631578948, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4809217', 'n_tokens_mistral': 158, 'n_tokens_neox': 145, 'n_words': 48}