<commit_before>#!/usr/bin/perl -w

use strict;

use Test::More tests => 2;

open(SOLUTION, "exercise101 |") or die;
chomp(my $solution_output = join("", <SOLUTION>));
is($solution_output, "Hello, World!",
    "Solution output is \"Hello, World!\".");
is($?, 0, "Solution exits without errors.");<commit_msg>Alter test for Exercise 1-1 to ignore letter case.<commit_after>#!/usr/bin/perl -w

use strict;

use Test::More tests => 2;

open(SOLUTION, "exercise101 |") or die;
chomp(my $solution_output = join("", <SOLUTION>));
like($solution_output, qr/Hello.*world!/i,
    "Solution output is \"Hello, world!\" or similar.");
is($?, 0, "Solution exits without errors.");
{'fraction_non_alphanumeric': 0.1934032983508246, 'fraction_numerical': 0.017991004497751123, 'mean_word_length': 5.128440366972477, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3785023', 'n_tokens_mistral': 258, 'n_tokens_neox': 222, 'n_words': 68}