<commit_before>#!/usr/bin/env perl
use strict;
use warnings;

use FindBin;
use lib $FindBin::Bin;
use App::perlbrew;
require 'test_helpers.pl';

use Test::More;
use Test::Output;

mock_perlbrew_install("perl-5.12.3");
mock_perlbrew_install("perl-5.12.4");
mock_perlbrew_install("perl-5.14.1");
mock_perlbrew_install("perl-5.14.2");

subtest "perlbrew version" => sub {
    my $app = App::perlbrew->new();
    my $version = $App::perlbrew::VERSION;
    stdout_is(
        sub {
            $app->run_command('version');
        },
        "t/05.get_current_perl.t  - App::perlbrew/$version\n"
    );<commit_msg>minor.<commit_after>#!/usr/bin/env perl
use strict;
use warnings;

use FindBin;
use lib $FindBin::Bin;
use App::perlbrew;
require 'test_helpers.pl';

use Test::More;
use Test::Output;

mock_perlbrew_install("perl-5.12.3");
mock_perlbrew_install("perl-5.12.4");
mock_perlbrew_install("perl-5.14.1");
mock_perlbrew_install("perl-5.14.2");

subtest "perlbrew version" => sub {

    my $version = $App::perlbrew::VERSION;
    stdout_is(
        sub {
            my $app = App::perlbrew->new("version");
            $app->run;
        },
        "t/05.get_current_perl.t  - App::perlbrew/$version\n"
    );
{'fraction_non_alphanumeric': 0.17574257425742573, 'fraction_numerical': 0.0297029702970297, 'mean_word_length': 3.612167300380228, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1170299', 'n_tokens_mistral': 493, 'n_tokens_neox': 450, 'n_words': 76}