Merge pull request #689 from rhansen/readability

Readability improvements
This commit is contained in:
Richard Hansen 2024-06-22 17:32:27 -04:00 committed by GitHub
commit 61539105bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 484 additions and 488 deletions

View file

@ -77,7 +77,7 @@ handwritten_tests = \
t/parse_assignments.pl \ t/parse_assignments.pl \
t/skip.pl \ t/skip.pl \
t/ssl-validate.pl \ t/ssl-validate.pl \
t/write_cache.pl t/write_recap.pl
generated_tests = \ generated_tests = \
t/version.pl t/version.pl
TESTS = $(handwritten_tests) $(generated_tests) TESTS = $(handwritten_tests) $(generated_tests)

File diff suppressed because it is too large Load diff

View file

@ -35,7 +35,7 @@ my @test_cases = (
for my $tc (@test_cases) { for my $tc (@test_cases) {
$warning = undef; $warning = undef;
ddclient::write_cache($tc->{f}); ddclient::write_recap($tc->{f});
subtest $tc->{name} => sub { subtest $tc->{name} => sub {
if (defined($tc->{warning_regex})) { if (defined($tc->{warning_regex})) {
like($warning, $tc->{warning_regex}, "expected warning message"); like($warning, $tc->{warning_regex}, "expected warning message");